mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
clear is as first on refresh
This commit is contained in:
parent
9c539aa07d
commit
1b7aa14cf1
1 changed files with 3 additions and 2 deletions
|
|
@ -312,15 +312,16 @@ class FamilyWidget(QtWidgets.QWidget):
|
|||
"""
|
||||
|
||||
def refresh(self):
|
||||
self.list_families.clear()
|
||||
|
||||
has_families = False
|
||||
project_name = self.dbcon.Session.get("AVALON_PROJECT")
|
||||
if not project_name:
|
||||
return
|
||||
|
||||
settings = get_project_settings(project_name)
|
||||
sp_settings = settings.get('standalonepublisher', {})
|
||||
|
||||
self.list_families.clear()
|
||||
|
||||
for key, creator in sp_settings.get("create", {}).items():
|
||||
if key == "__dynamic_keys_labels__":
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue