mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
make filters empty
This commit is contained in:
parent
2da85dd1f4
commit
fc99459590
1 changed files with 4 additions and 0 deletions
|
|
@ -506,6 +506,10 @@ class LoaderWindow(QtWidgets.QWidget):
|
||||||
|
|
||||||
def _update_filters(self):
|
def _update_filters(self):
|
||||||
project_name = self._selected_project_name
|
project_name = self._selected_project_name
|
||||||
|
if not project_name:
|
||||||
|
self._search_bar.set_search_items([])
|
||||||
|
return
|
||||||
|
|
||||||
product_type_items: list[ProductTypeItem] = []
|
product_type_items: list[ProductTypeItem] = []
|
||||||
status_items: list[StatusItem] = []
|
status_items: list[StatusItem] = []
|
||||||
if project_name:
|
if project_name:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue