summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/inventorywindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index 8ae9c0f32..3930ef207 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -96,7 +96,11 @@ InventoryWindow::InventoryWindow(Inventory *inventory):
mFilterLabel = new Label(_("Filter:"));
- mFilter->add("All");
+ std::vector<std::string> tags = ItemDB::getTags();
+ for (int f = 0; f < tags.size(); f ++)
+ mFilter->add(tags[f]);
+
+// mFilter->add("All");
if (isMainInventory())
{