diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-28 18:30:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-28 23:26:40 +0300 |
commit | 18973230c163336944a7a0ecf466daa563cf8355 (patch) | |
tree | 4d3122a8caedcad815493012c0d2ba697be0f2ff /src/gui/widgets/tabstrip.cpp | |
parent | 0278a66e30a3f2df0932ee501b5e5dc09b1a23ce (diff) | |
download | plus-18973230c163336944a7a0ecf466daa563cf8355.tar.gz plus-18973230c163336944a7a0ecf466daa563cf8355.tar.bz2 plus-18973230c163336944a7a0ecf466daa563cf8355.tar.xz plus-18973230c163336944a7a0ecf466daa563cf8355.zip |
Add support for pages in equipment window.
Diffstat (limited to 'src/gui/widgets/tabstrip.cpp')
-rw-r--r-- | src/gui/widgets/tabstrip.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/tabstrip.cpp b/src/gui/widgets/tabstrip.cpp index e6459a103..879da6210 100644 --- a/src/gui/widgets/tabstrip.cpp +++ b/src/gui/widgets/tabstrip.cpp @@ -49,6 +49,7 @@ Widget *TabStrip::createWidget(const std::string &text) const widget->adjustSize(); if (!mCount) widget->setPressed(true); + widget->setTag(mWidgets.size()); return widget; } |