diff options
Diffstat (limited to 'apps/shortcuts.c')
-rw-r--r-- | apps/shortcuts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/shortcuts.c b/apps/shortcuts.c index 9f042a926a..f573d6fe4e 100644 --- a/apps/shortcuts.c +++ b/apps/shortcuts.c | |||
@@ -451,10 +451,14 @@ static int shortcut_menu_get_action(int action, struct gui_synclist *lists) | |||
451 | int selection = gui_synclist_get_sel_pos(lists); | 451 | int selection = gui_synclist_get_sel_pos(lists); |
452 | 452 | ||
453 | if (!yesno_pop(ID2P(LANG_REALLY_DELETE))) | 453 | if (!yesno_pop(ID2P(LANG_REALLY_DELETE))) |
454 | { | ||
455 | gui_synclist_set_title(lists, lists->title, lists->title_icon); | ||
454 | return ACTION_REDRAW; | 456 | return ACTION_REDRAW; |
457 | } | ||
455 | 458 | ||
456 | remove_shortcut(selection); | 459 | remove_shortcut(selection); |
457 | gui_synclist_set_nb_items(lists, shortcut_count); | 460 | gui_synclist_set_nb_items(lists, shortcut_count); |
461 | gui_synclist_set_title(lists, lists->title, lists->title_icon); | ||
458 | if (selection >= shortcut_count) | 462 | if (selection >= shortcut_count) |
459 | gui_synclist_select_item(lists, shortcut_count - 1); | 463 | gui_synclist_select_item(lists, shortcut_count - 1); |
460 | first_idx_to_writeback = 0; | 464 | first_idx_to_writeback = 0; |