summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
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;