summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-10-27 16:17:24 +0100
committerlouis <louis.braun@gmx.de>2013-10-27 16:17:24 +0100
commit3cdbc204e283f45bfd71ea6adacd3693e83c1255 (patch)
tree344faf3a7d1240bf825b7a5c698d7e0f460354fb /setup.c
parenteec77c1ec540282b30891aeede497045b97070b6 (diff)
downloadskin-nopacity-3cdbc204e283f45bfd71ea6adacd3693e83c1255.tar.gz
skin-nopacity-3cdbc204e283f45bfd71ea6adacd3693e83c1255.tar.bz2
Fixed a bug in theme specific configs
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index e48dc41..2a607c9 100644
--- a/setup.c
+++ b/setup.c
@@ -84,7 +84,10 @@ void cNopacitySetup::Store(void) {
int value = (int)it->second;
int origValue = config.GetValue(name);
if (value != origValue) {
+ //Save changed value in setup.conf
SetupStore(*cString::sprintf("%s.%s", themeName, name.c_str()), value);
+ //Save changed value also in cConfig::themeConfigSetup
+ tmpConf.SetThemeConfigSetupValue(themeName, name, value);
}
}
config = tmpConf;