mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix receiving data from model
This commit is contained in:
parent
8727cf305b
commit
e0b5b87b4c
1 changed files with 1 additions and 2 deletions
|
|
@ -10,7 +10,6 @@ from ayon_core.tools.utils.delegates import PrettyTimeDelegate
|
|||
|
||||
from .utils import BaseOverlayFrame
|
||||
|
||||
|
||||
REPRE_ID_ROLE = QtCore.Qt.UserRole + 1
|
||||
FILEPATH_ROLE = QtCore.Qt.UserRole + 2
|
||||
AUTHOR_ROLE = QtCore.Qt.UserRole + 3
|
||||
|
|
@ -249,7 +248,7 @@ class PublishedFilesModel(QtGui.QStandardItemModel):
|
|||
|
||||
# Handle roles for first column
|
||||
col = index.column()
|
||||
if col != 1:
|
||||
if col == 0:
|
||||
return super().data(index, role)
|
||||
|
||||
if role == QtCore.Qt.DecorationRole:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue