mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
shortcuts: respect talk_menu setting when deleting shortcut
Change-Id: I6f06db5a41c402eeb3703a25c5d51fd0e4fe354f
This commit is contained in:
parent
a98a8ce131
commit
c5e5a537c0
1 changed files with 4 additions and 2 deletions
|
@ -636,7 +636,8 @@ static int shortcut_menu_get_action(int action, struct gui_synclist *lists)
|
|||
if (confirm_delete_yesno("") != YESNO_YES)
|
||||
{
|
||||
gui_synclist_set_title(lists, lists->title, lists->title_icon);
|
||||
shortcut_menu_speak_item(selection, NULL);
|
||||
if (global_settings.talk_menu)
|
||||
shortcut_menu_speak_item(selection, NULL);
|
||||
return ACTION_REDRAW;
|
||||
}
|
||||
|
||||
|
@ -651,7 +652,8 @@ static int shortcut_menu_get_action(int action, struct gui_synclist *lists)
|
|||
|
||||
if (shortcut_count > 0)
|
||||
{
|
||||
shortcut_menu_speak_item(gui_synclist_get_sel_pos(lists), NULL);
|
||||
if (global_settings.talk_menu)
|
||||
shortcut_menu_speak_item(gui_synclist_get_sel_pos(lists), NULL);
|
||||
return ACTION_REDRAW;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue