summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/setup.c b/setup.c
index bfffd59..a7290b1 100644
--- a/setup.c
+++ b/setup.c
@@ -34,7 +34,7 @@ eOSState cSkinDesignerSetup::ProcessKey(eKeys Key) {
bool hadSubMenu = HasSubMenu();
eOSState state = cMenuSetupPage::ProcessKey(Key);
if (hadSubMenu && Key == kOk) {
- esyslog("skindesigner: store submenu");
+ Store();
}
if (!hadSubMenu && (state == osUnknown || Key == kOk)) {
if ((Key == kOk && !hadSubMenu)) {
@@ -72,7 +72,9 @@ void cSkinDesignerSetup::Store(void) {
skinSetup->InitParameterIterator();
cSkinSetupParameter *param = NULL;
while (param = skinSetup->GetParameter()) {
- SetupStore(*cString::sprintf("%s.%s", skin.c_str(), param->name.c_str()), param->value);
+ cString paramName = cString::sprintf("%s.%s", skin.c_str(), param->name.c_str());
+ SetupStore(*paramName, param->value);
+ config.UpdateSkinSetupParameter(*paramName, param->value);
}
}
config.UpdateGlobals();