mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #4346 from quadproduction/267-set-family-instances-in-create-plugin-by-alphabetical-order
Sort families by alphabetical order in the Create plugin
This commit is contained in:
commit
4b0b6e6e02
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ class CreatorsModel(QtGui.QStandardItemModel):
|
|||
item.setData(False, QtCore.Qt.ItemIsEnabled)
|
||||
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