From a96cc7c604f80a62169be9f75bae581d47acd4f9 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Sun, 23 Oct 2022 17:44:28 -0500 Subject: [PATCH] Fixed actions not getting sorted when an action is updated --- lib/pages/editor.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pages/editor.rb b/lib/pages/editor.rb index 7a0e4bc..798b6d3 100644 --- a/lib/pages/editor.rb +++ b/lib/pages/editor.rb @@ -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)