mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
sort families by alphabetical order
This commit is contained in:
parent
8b1b09b338
commit
1dfffce83d
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ class CreatorsModel(QtGui.QStandardItemModel):
|
|||
item.setData(QtCore.Qt.ItemIsEnabled, False)
|
||||
items.append(item)
|
||||
|
||||
items.sort(key=lambda item: item.text())
|
||||
self.invisibleRootItem().appendRows(items)
|
||||
|
||||
def get_creator_by_id(self, item_id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue