mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-27 06:12:19 +01:00
use proxy model for check of files existence
This commit is contained in:
parent
926eb5b95e
commit
b7f6e2dd55
1 changed files with 1 additions and 1 deletions
|
|
@ -552,7 +552,7 @@ class MultiFilesWidget(QtWidgets.QFrame):
|
|||
self._update_visibility()
|
||||
|
||||
def _update_visibility(self):
|
||||
files_exists = self._files_model.rowCount() > 0
|
||||
files_exists = self._files_proxy_model.rowCount() > 0
|
||||
self._files_view.setVisible(files_exists)
|
||||
self._empty_widget.setVisible(not files_exists)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue