Skip to content

Commit

Permalink
don't sort the feats/powers until the issue is resolved.
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Feb 16, 2024
1 parent 913e266 commit 5766468
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tools/HolocronToolset/src/toolset/gui/editors/utc.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ def _setupInstallation(self, installation: HTInstallation):
item.setFlags(item.flags() | QtCore.Qt.ItemIsUserCheckable)
item.setCheckState(QtCore.Qt.Unchecked)
self.ui.featList.addItem(item)
self.ui.featList.setSortingEnabled(True)
self.ui.featList.sortItems(QtCore.Qt.AscendingOrder)
#self.ui.featList.setSortingEnabled(True)
#self.ui.featList.sortItems(QtCore.Qt.AscendingOrder)

self.ui.powerList.clear()
for power in powers:
Expand All @@ -191,8 +191,8 @@ def _setupInstallation(self, installation: HTInstallation):
item.setFlags(item.flags() | QtCore.Qt.ItemIsUserCheckable)
item.setCheckState(QtCore.Qt.Unchecked)
self.ui.powerList.addItem(item)
self.ui.powerList.setSortingEnabled(True)
self.ui.powerList.sortItems(QtCore.Qt.AscendingOrder)
#self.ui.powerList.setSortingEnabled(True)
#self.ui.powerList.sortItems(QtCore.Qt.AscendingOrder)

self.ui.noBlockCheckbox.setVisible(installation.tsl)
self.ui.hologramCheckbox.setVisible(installation.tsl)
Expand Down

0 comments on commit 5766468

Please sign in to comment.