summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor B. Poretsky <poretsky@mlbox.ru>2017-02-28 23:46:39 +0300
committerSolomon Peachy <pizza@shaftnet.org>2019-08-20 15:36:54 +0200
commit9e186e34ab2e609cb725bcb9e9a43988697b0512 (patch)
treefabb28fdb0ec7bb9bc322eb76fb3f83c74aabe2a
parent293e3e0fd7ec13f66cefe95e0aaebac9b30bcc20 (diff)
downloadrockbox-9e186e34ab2e609cb725bcb9e9a43988697b0512.tar.gz
rockbox-9e186e34ab2e609cb725bcb9e9a43988697b0512.tar.bz2
rockbox-9e186e34ab2e609cb725bcb9e9a43988697b0512.zip
Save and apply settings after resetting settings in menu.
Change-Id: I8c38d34d04f59090f02f4b7374860ece153a57ce
-rw-r--r--apps/menu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c
index fc35da643f..a205615802 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -490,6 +490,8 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
break;
case 0: /* reset setting */
reset_setting(setting, setting->setting);
+ settings_save();
+ settings_apply(false);
break;
#ifdef HAVE_QUICKSCREEN
case 1: /* set as top QS item */