forked from len0rd/rockbox
write the current settings to .rockbox/config.cfg.bak before resetting settings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16792 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
27cf677339
commit
9ed5a67b69
3 changed files with 4 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ static int reset_settings(void)
|
|||
switch(gui_syncyesno_run(&message, &yes_message, &no_message))
|
||||
{
|
||||
case YESNO_YES:
|
||||
settings_write_config(CONFIGFILE ".bak", SETTINGS_SAVE_CHANGED);
|
||||
settings_reset();
|
||||
settings_apply(true);
|
||||
settings_save();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue