Fix FS#12262 - Volume (and all sound settings and anything using the "table" setting type) don't get applied correctly when being changed from the quickscreen or by using the %T(..., setting_inc/dec) skin tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30466 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
101bb25e72
commit
c1a14863f5
1 changed files with 4 additions and 0 deletions
|
@ -272,6 +272,8 @@ void option_select_next_val(const struct settings_list *setting,
|
|||
val = max;
|
||||
}
|
||||
*value = val;
|
||||
if (apply)
|
||||
sound_set(setting_id, val);
|
||||
}
|
||||
else if ((setting->flags & F_CHOICE_SETTING) == F_CHOICE_SETTING)
|
||||
{
|
||||
|
@ -308,6 +310,8 @@ void option_select_next_val(const struct settings_list *setting,
|
|||
}
|
||||
}
|
||||
*value = val;
|
||||
if (apply && tbl_info->option_callback)
|
||||
tbl_info->option_callback(val);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue