Skip to content

Commit

Permalink
List the existing groups in sorted order
Browse files Browse the repository at this point in the history
  • Loading branch information
BigRoy committed Sep 17, 2024
1 parent 1191e13 commit 4de74bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ayon_core/tools/loader/ui/product_group_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _set_product_groups(self, product_groups):
"""Update product groups for the preset list available in the dialog"""
# Update product group picker menu and state
self._group_picker_menu.clear()
for product_group in product_groups:
for product_group in sorted(product_groups):
self._group_picker_menu.addAction(product_group)
self._group_picker_btn.setEnabled(bool(product_groups))

Expand Down

0 comments on commit 4de74bf

Please sign in to comment.