mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
fix '_fill_selection' by accessing model method
This commit is contained in:
parent
6db0dcbb44
commit
f7fba84aee
1 changed files with 2 additions and 1 deletions
|
|
@ -538,7 +538,8 @@ class LoadedFilesView(QtWidgets.QTreeView):
|
|||
if index.isValid():
|
||||
return
|
||||
|
||||
index = self._model.index(0, 0)
|
||||
model = self.model()
|
||||
index = model.index(0, 0)
|
||||
if index.isValid():
|
||||
self.setCurrentIndex(index)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue