Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
print removed and blank corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
FadyFS committed Jul 11, 2023
1 parent a4345f5 commit 243b2bf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions openpype/tools/loader/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1042,9 +1042,6 @@ def __init__(self, dbcon, family_config_cache, parent=None):
self._settings = settings
self._last_families_setting = self._settings.value('enabled_families')

print("settings: ", settings.allKeys())
print("enabled_families", settings.value('enabled_families'))

self.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
self.setAlternatingRowColors(True)
self.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
Expand All @@ -1070,7 +1067,6 @@ def set_enabled_family_filtering(self, enabled=None):
def refresh(self):
self._family_model.refresh()
self.active_changed.emit(self.get_enabled_families())

if self._last_families_setting is not None:
self.set_last_families(self._last_families_setting)
self._last_families_setting = None
Expand All @@ -1079,7 +1075,6 @@ def get_enabled_families(self):
"""Return the checked family items"""
model = self._family_model
checked_families = []

for row in range(model.rowCount()):
index = model.index(row, 0)
checked = checkstate_int_to_enum(
Expand Down

0 comments on commit 243b2bf

Please sign in to comment.