diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-07 22:34:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-07 22:34:36 +0300 |
commit | 9497479f87f2bbef35e2f333dcd6d74c4d349d52 (patch) | |
tree | 3a471fc9b54d01c34ce2a913eb171b47c4f592cc /src/gui/setup_theme.cpp | |
parent | 09886752408b872218e0080d3a00095e3eaa146b (diff) | |
download | manaverse-9497479f87f2bbef35e2f333dcd6d74c4d349d52.tar.gz manaverse-9497479f87f2bbef35e2f333dcd6d74c4d349d52.tar.bz2 manaverse-9497479f87f2bbef35e2f333dcd6d74c4d349d52.tar.xz manaverse-9497479f87f2bbef35e2f333dcd6d74c4d349d52.zip |
add missing check in setup_theme file.
Diffstat (limited to 'src/gui/setup_theme.cpp')
-rw-r--r-- | src/gui/setup_theme.cpp | 2 |
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); |