summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index d363b37..6977552 100644
--- a/menu.c
+++ b/menu.c
@@ -275,6 +275,7 @@ static void menu_update(Ted *ted) {
}
}
selector->n_entries = (u32)(entry - entries);
+ selector_sort_entries_by_name(selector);
}
char *chosen_command = selector_update(ted, &ted->command_selector);