diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-17 15:54:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-17 15:54:50 +0300 |
commit | 37597422a0d458a224fed0258d093f7a7e400041 (patch) | |
tree | 61996595f7a39351635bdad0172deb5855aa8776 /src/gui/widgets/tabstrip.cpp | |
parent | 794ebb9ccd1b6605a03fee438abc1e4f2f7966c9 (diff) | |
download | manaplus-37597422a0d458a224fed0258d093f7a7e400041.tar.gz manaplus-37597422a0d458a224fed0258d093f7a7e400041.tar.bz2 manaplus-37597422a0d458a224fed0258d093f7a7e400041.tar.xz manaplus-37597422a0d458a224fed0258d093f7a7e400041.zip |
Exclude useless logic methods calls.
Diffstat (limited to 'src/gui/widgets/tabstrip.cpp')
-rw-r--r-- | src/gui/widgets/tabstrip.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp index 57520afce..06e2fd3b8 100644 --- a/src/gui/widgets/tabstrip.cpp +++ b/src/gui/widgets/tabstrip.cpp @@ -30,6 +30,7 @@ TabStrip::TabStrip(const Widget2 *const widget, const int spacing) : WidgetGroup(widget, group, height, spacing) { + mAllowLogic = false; } TabStrip::TabStrip(const Widget2 *const widget, @@ -37,6 +38,7 @@ TabStrip::TabStrip(const Widget2 *const widget, const int spacing) : WidgetGroup(widget, "", height, spacing) { + mAllowLogic = false; } Widget *TabStrip::createWidget(const std::string &text) const |