only save config when menu_show_start_screen is enabled if config_save_on_exit is also enabled
This commit is contained in:
parent
a4b90bcede
commit
eac4fc981b
|
@ -182,6 +182,7 @@ static bool menu_init(menu_handle_t *menu_data)
|
||||||
{
|
{
|
||||||
menu_dialog_push_pending(true, MENU_DIALOG_WELCOME);
|
menu_dialog_push_pending(true, MENU_DIALOG_WELCOME);
|
||||||
settings->menu_show_start_screen = false;
|
settings->menu_show_start_screen = false;
|
||||||
|
if (settings->config_save_on_exit)
|
||||||
command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL);
|
command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue