summaryrefslogtreecommitdiff
path: root/src/gui/setup_theme.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-07 22:34:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-07 22:34:36 +0300
commit9497479f87f2bbef35e2f333dcd6d74c4d349d52 (patch)
tree3a471fc9b54d01c34ce2a913eb171b47c4f592cc /src/gui/setup_theme.cpp
parent09886752408b872218e0080d3a00095e3eaa146b (diff)
downloadplus-9497479f87f2bbef35e2f333dcd6d74c4d349d52.tar.gz
plus-9497479f87f2bbef35e2f333dcd6d74c4d349d52.tar.bz2
plus-9497479f87f2bbef35e2f333dcd6d74c4d349d52.tar.xz
plus-9497479f87f2bbef35e2f333dcd6d74c4d349d52.zip
add missing check in setup_theme file.
Diffstat (limited to 'src/gui/setup_theme.cpp')
-rw-r--r--src/gui/setup_theme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp
index a6a4ee31b..e62f38608 100644
--- a/src/gui/setup_theme.cpp
+++ b/src/gui/setup_theme.cpp
@@ -479,7 +479,7 @@ void Setup_Theme::apply()
}
config.setValue("selectedSkin", "");
- if (config.getStringValue("theme") != mTheme)
+ if (config.getStringValue("theme") != mTheme && mInfo)
{
updateField(font, mFont);
updateField(boldFont, mBoldFont);