From 3cdbc204e283f45bfd71ea6adacd3693e83c1255 Mon Sep 17 00:00:00 2001 From: louis Date: Sun, 27 Oct 2013 16:17:24 +0100 Subject: Fixed a bug in theme specific configs --- setup.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setup.c') 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; -- cgit v1.2.3