(edit_delete_macro): do not resort macros after deleting one

...because g_array_remove_index() keeps the array sorted.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
sxmboer2 2022-07-22 16:08:34 +03:00 committed by Andrew Borodin
parent 01c3c56140
commit cca4c46d05
1 changed files with 0 additions and 1 deletions

View File

@ -111,7 +111,6 @@ edit_delete_macro (WEdit * edit, int hotkey)
macros = &g_array_index (macros_list, struct macros_t, indx);
g_array_free (macros->macro, TRUE);
g_array_remove_index (macros_list, indx);
edit_macro_sort_by_hotkey ();
}
macros_fname = mc_config_get_full_path (MC_MACRO_FILE);