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 | |
parent | 101bb25e72d1f964457bf31f19ad47bd179ad872 (diff) | |
download | rockbox-c1a14863f565a79106f4e7efbcaf26bbd5543b69.tar.gz rockbox-c1a14863f565a79106f4e7efbcaf26bbd5543b69.zip |
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
-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 c3246638ab..7c3d34f024 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, | |||
272 | val = max; | 272 | val = max; |
273 | } | 273 | } |
274 | *value = val; | 274 | *value = val; |
275 | if (apply) | ||
276 | sound_set(setting_id, val); | ||
275 | } | 277 | } |
276 | else if ((setting->flags & F_CHOICE_SETTING) == F_CHOICE_SETTING) | 278 | else if ((setting->flags & F_CHOICE_SETTING) == F_CHOICE_SETTING) |
277 | { | 279 | { |
@@ -308,6 +310,8 @@ void option_select_next_val(const struct settings_list *setting, | |||
308 | } | 310 | } |
309 | } | 311 | } |
310 | *value = val; | 312 | *value = val; |
313 | if (apply && tbl_info->option_callback) | ||
314 | tbl_info->option_callback(val); | ||
311 | } | 315 | } |
312 | } | 316 | } |
313 | #endif | 317 | #endif |