diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-07 13:33:05 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-07 13:33:05 +0000 |
| commit | c1a14863f565a79106f4e7efbcaf26bbd5543b69 (patch) | |
| tree | 2c84d6610ef62087120be9a58cb0d1cb28727dc3 /apps/gui | |
| parent | 101bb25e72d1f964457bf31f19ad47bd179ad872 (diff) | |
| download | rockbox-c1a14863f565a79106f4e7efbcaf26bbd5543b69.zip rockbox-c1a14863f565a79106f4e7efbcaf26bbd5543b69.tar.gz rockbox-c1a14863f565a79106f4e7efbcaf26bbd5543b69.tar.bz2 rockbox-c1a14863f565a79106f4e7efbcaf26bbd5543b69.tar.xz | |
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
Diffstat (limited to 'apps/gui')
| -rw-r--r-- | apps/gui/option_select.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c index c324663..7c3d34f 100644 --- a/apps/gui/option_select.c +++ b/apps/gui/option_select.c @@ -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 |