mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
flags consider item flags
This commit is contained in:
parent
66285949a5
commit
ef0106346f
1 changed files with 4 additions and 2 deletions
|
|
@ -58,8 +58,10 @@ class LoaderTasksQtModel(TasksQtModel):
|
|||
"Method 'get_last_folder_id' is not implemented."
|
||||
)
|
||||
|
||||
def flags(self, _index):
|
||||
return QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable
|
||||
def flags(self, index):
|
||||
if index.column() != 0:
|
||||
index = self.index(index.row(), 0, index.parent())
|
||||
return super().flags(index)
|
||||
|
||||
def _refresh(self, project_name, folder_ids):
|
||||
self._is_refreshing = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue