diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-11 17:25:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-11 17:25:45 +0300 |
commit | a3c5d6cc7d6f821b31342de3a429996f2775d15e (patch) | |
tree | e4cf05880a95baaa689ac52da0ce5120408931c0 /src/gui/windows/inventorywindow.cpp | |
parent | 2791fac578c27f6dafc8d5fcebc7f281424285d6 (diff) | |
download | manaplus-a3c5d6cc7d6f821b31342de3a429996f2775d15e.tar.gz manaplus-a3c5d6cc7d6f821b31342de3a429996f2775d15e.tar.bz2 manaplus-a3c5d6cc7d6f821b31342de3a429996f2775d15e.tar.xz manaplus-a3c5d6cc7d6f821b31342de3a429996f2775d15e.zip |
Simplify AddButton method in WidgetGroup class.
Diffstat (limited to 'src/gui/windows/inventorywindow.cpp')
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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()) { |