summaryrefslogtreecommitdiff
path: root/src/gui/widgets/label.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-17 15:54:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-17 15:54:50 +0300
commit37597422a0d458a224fed0258d093f7a7e400041 (patch)
tree61996595f7a39351635bdad0172deb5855aa8776 /src/gui/widgets/label.cpp
parent794ebb9ccd1b6605a03fee438abc1e4f2f7966c9 (diff)
downloadmanaverse-37597422a0d458a224fed0258d093f7a7e400041.tar.gz
manaverse-37597422a0d458a224fed0258d093f7a7e400041.tar.bz2
manaverse-37597422a0d458a224fed0258d093f7a7e400041.tar.xz
manaverse-37597422a0d458a224fed0258d093f7a7e400041.zip
Exclude useless logic methods calls.
Diffstat (limited to 'src/gui/widgets/label.cpp')
-rw-r--r--src/gui/widgets/label.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/label.cpp b/src/gui/widgets/label.cpp
index 7318fc3d1..c37308a1e 100644
--- a/src/gui/widgets/label.cpp
+++ b/src/gui/widgets/label.cpp
@@ -112,6 +112,7 @@ Label::~Label()
void Label::init()
{
+ mAllowLogic = false;
mForegroundColor = getThemeColor(Theme::LABEL);
mForegroundColor2 = getThemeColor(Theme::LABEL_OUTLINE);
if (mInstances == 0)