diff --git a/pype/tools/standalonepublish/widgets/widget_family.py b/pype/tools/standalonepublish/widgets/widget_family.py index dda4e5b03e..ed30dba420 100644 --- a/pype/tools/standalonepublish/widgets/widget_family.py +++ b/pype/tools/standalonepublish/widgets/widget_family.py @@ -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