summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/equipmentwindow.cpp2
-rw-r--r--src/gui/windows/inventorywindow.cpp2
2 files changed, 2 insertions, 2 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;
}
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index 25e087ec1..c8702a51f 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -164,7 +164,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
StringVect tags = ItemDB::getTags();
const size_t sz = tags.size();
for (size_t f = 0; f < sz; f ++)
- mFilter->addButton(tags[f]);
+ mFilter->addButton(tags[f], tags[f], false);
if (isMainInventory())
{