summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.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/widget.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/widget.cpp')
-rw-r--r--src/gui/widgets/widget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/widget.cpp b/src/gui/widgets/widget.cpp
index d1ca474c4..cd1ac750c 100644
--- a/src/gui/widgets/widget.cpp
+++ b/src/gui/widgets/widget.cpp
@@ -108,7 +108,8 @@ Widget::Widget(const Widget2 *const widget) :
mVisible(true),
mTabIn(true),
mTabOut(true),
- mEnabled(true)
+ mEnabled(true),
+ mAllowLogic(true)
{
mWidgets.push_back(this);
mWidgetsSet.insert(this);