From e0b5b87b4cf5d5352c14dcfe6fa8601f35104f61 Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:12:38 +0200 Subject: [PATCH] fix receiving data from model --- .../tools/workfiles/widgets/files_widget_published.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/ayon_core/tools/workfiles/widgets/files_widget_published.py b/client/ayon_core/tools/workfiles/widgets/files_widget_published.py index 2ce8569a9b..07122046be 100644 --- a/client/ayon_core/tools/workfiles/widgets/files_widget_published.py +++ b/client/ayon_core/tools/workfiles/widgets/files_widget_published.py @@ -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: