From eac4fc981be2f294e45d93e1ef0abb18b41f4f14 Mon Sep 17 00:00:00 2001 From: Jools Wills Date: Thu, 13 Oct 2016 13:54:18 +0100 Subject: [PATCH] only save config when menu_show_start_screen is enabled if config_save_on_exit is also enabled --- menu/menu_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu/menu_driver.c b/menu/menu_driver.c index fd5bb74dba..b83ff32467 100644 --- a/menu/menu_driver.c +++ b/menu/menu_driver.c @@ -182,7 +182,8 @@ static bool menu_init(menu_handle_t *menu_data) { menu_dialog_push_pending(true, MENU_DIALOG_WELCOME); settings->menu_show_start_screen = false; - command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL); + if (settings->config_save_on_exit) + command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL); } if ( settings->bundle_assets_extract_enable