summaryrefslogtreecommitdiff
path: root/src/gui/windows/equipmentwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-11 17:25:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-11 17:25:45 +0300
commita3c5d6cc7d6f821b31342de3a429996f2775d15e (patch)
treee4cf05880a95baaa689ac52da0ce5120408931c0 /src/gui/windows/equipmentwindow.cpp
parent2791fac578c27f6dafc8d5fcebc7f281424285d6 (diff)
downloadManaVerse-a3c5d6cc7d6f821b31342de3a429996f2775d15e.tar.gz
ManaVerse-a3c5d6cc7d6f821b31342de3a429996f2775d15e.tar.bz2
ManaVerse-a3c5d6cc7d6f821b31342de3a429996f2775d15e.tar.xz
ManaVerse-a3c5d6cc7d6f821b31342de3a429996f2775d15e.zip
Simplify AddButton method in WidgetGroup class.
Diffstat (limited to 'src/gui/windows/equipmentwindow.cpp')
-rw-r--r--src/gui/windows/equipmentwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp
index e50b0c488..ae438dc10 100644
--- a/src/gui/windows/equipmentwindow.cpp
+++ b/src/gui/windows/equipmentwindow.cpp
@@ -763,6 +763,6 @@ int EquipmentWindow::addPage(const std::string &name)
for (int f = 0; f < BOX_COUNT; f ++)
boxes.push_back(nullptr);
- mTabs->addButton(name);
+ mTabs->addButton(name, name, false);
return static_cast<int>(mPages.size()) - 1;
}