mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix FS#13319
Change-Id: Ia995e2de51f5d8984dffa90b97d4babb98f21399
This commit is contained in:
parent
6325971451
commit
64192cdfa8
1 changed files with 8 additions and 1 deletions
|
@ -659,9 +659,16 @@ int do_shortcut_menu(void *ignored)
|
|||
}
|
||||
break;
|
||||
case SHORTCUT_SETTING:
|
||||
{
|
||||
int old_sleeptimer_duration = global_settings.sleeptimer_duration;
|
||||
do_setting_screen(sc->u.setting,
|
||||
sc->name[0] ? sc->name : P2STR(ID2P(sc->u.setting->lang_id)),NULL);
|
||||
|
||||
if (old_sleeptimer_duration != global_settings.sleeptimer_duration &&
|
||||
get_sleep_timer())
|
||||
set_sleeptimer_duration(global_settings.sleeptimer_duration);
|
||||
break;
|
||||
}
|
||||
case SHORTCUT_DEBUGITEM:
|
||||
run_debug_screen(sc->u.path);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue