diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/stk.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1107,10 +1107,8 @@ static gboolean handle_command_set_up_menu(const struct stk_command *cmd, if (menu == NULL && stk->main_menu == NULL) return TRUE; - if (stk->main_menu) { + if (stk->main_menu) stk_menu_free(stk->main_menu); - stk->main_menu = NULL; - } stk->main_menu = menu; |