From c1a14863f565a79106f4e7efbcaf26bbd5543b69 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 7 Sep 2011 13:33:05 +0000 Subject: [PATCH] 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 --- apps/gui/option_select.c | 4 ++++ 1 file changed, 4 insertions(+) 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, 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 -- 2.11.4.GIT