summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabstrip.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-28 18:30:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-28 23:26:40 +0300
commit18973230c163336944a7a0ecf466daa563cf8355 (patch)
tree4d3122a8caedcad815493012c0d2ba697be0f2ff /src/gui/widgets/tabstrip.cpp
parent0278a66e30a3f2df0932ee501b5e5dc09b1a23ce (diff)
downloadmv-18973230c163336944a7a0ecf466daa563cf8355.tar.gz
mv-18973230c163336944a7a0ecf466daa563cf8355.tar.bz2
mv-18973230c163336944a7a0ecf466daa563cf8355.tar.xz
mv-18973230c163336944a7a0ecf466daa563cf8355.zip
Add support for pages in equipment window.
Diffstat (limited to 'src/gui/widgets/tabstrip.cpp')
-rw-r--r--src/gui/widgets/tabstrip.cpp1
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;
}