summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_touchsupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_touchsupport.c')
-rw-r--r--apps/gui/skin_engine/skin_touchsupport.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_touchsupport.c b/apps/gui/skin_engine/skin_touchsupport.c
index d4f4fe226b..64c797942c 100644
--- a/apps/gui/skin_engine/skin_touchsupport.c
+++ b/apps/gui/skin_engine/skin_touchsupport.c
@@ -219,7 +219,9 @@ int skin_get_touchaction(struct wps_data *data, int* edge_offset,
case F_T_INT:
case F_T_UINT:
*(int*)s->setting = data->value.number;
- if (s->flags&F_CHOICE_SETTING)
+ if ((s->flags & F_T_SOUND) == F_T_SOUND)
+ sound_set(s->sound_setting->setting, data->value.number);
+ else if (s->flags&F_CHOICE_SETTING)
f = s->choice_setting->option_callback;
else if (s->flags&F_TABLE_SETTING)
f = s->table_setting->option_callback;