Fixed actions not getting sorted when an action is updated

This commit is contained in:
2022-10-23 17:44:28 -05:00
parent c2e527653d
commit a96cc7c604

View File

@@ -256,6 +256,7 @@ module TAC
def update_action(action, name, comment)
action.name = name
action.comment = comment
@active_group.actions.sort_by! { |a| a.name.downcase }
window.backend.config_changed!
populate_actions_list(@active_group)