mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Sort actions by label if it exists instead of name (#5106)
This commit is contained in:
parent
a227eaa806
commit
29c0b8a12a
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ class ActionModel(QtGui.QStandardItemModel):
|
|||
# Sort by order and name
|
||||
return sorted(
|
||||
compatible,
|
||||
key=lambda action: (action.order, action.name)
|
||||
key=lambda action: (action.order, lib.get_action_label(action))
|
||||
)
|
||||
|
||||
def update_force_not_open_workfile_settings(self, is_checked, action_id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue