summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-04 17:07:29 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-04 17:07:29 +0300
commit7e8850e6879bbe95165ff4c163bf6c3d725d251a (patch)
tree5f91e6abf38653224668e1f4f9f7a7bc842098bd /src
parent7c37f16dc33621339a57ad8a33a6b414110d6cd4 (diff)
downloadmanaverse-7e8850e6879bbe95165ff4c163bf6c3d725d251a.tar.gz
manaverse-7e8850e6879bbe95165ff4c163bf6c3d725d251a.tar.bz2
manaverse-7e8850e6879bbe95165ff4c163bf6c3d725d251a.tar.xz
manaverse-7e8850e6879bbe95165ff4c163bf6c3d725d251a.zip
Fix theme info dialog.
Fix bug http://bugs.evolonline.org/view.php?id=40
Diffstat (limited to 'src')
-rw-r--r--src/gui/setup_theme.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/setup_theme.cpp b/src/gui/setup_theme.cpp
index 531616e8b..658877eed 100644
--- a/src/gui/setup_theme.cpp
+++ b/src/gui/setup_theme.cpp
@@ -315,6 +315,7 @@ void Setup_Theme::updateInfo()
mThemeInfo = "";
}
replaceAll(mThemeInfo, "\\n", "\n");
+ mInfoButton->setEnabled(!mThemeInfo.empty());
delete info;
}