summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/tree.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 29903e05cd..0cb958447f 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -467,11 +467,6 @@ bool ask_resume(void)
if ( global_settings.resume == RESUME_ON )
return true;
- if ( global_settings.resume == RESUME_ASK_ONCE) {
- global_settings.resume_index = -1;
- settings_save();
- }
-
lcd_clear_display();
lcd_puts(0,0,str(LANG_RESUME_ASK));
#ifdef HAVE_LCD_CHARCELLS
@@ -485,6 +480,12 @@ bool ask_resume(void)
if (button_get(true) == BUTTON_PLAY)
return true;
+
+ if ( global_settings.resume == RESUME_ASK_ONCE) {
+ global_settings.resume_index = -1;
+ settings_save();
+ }
+
return false;
}