summaryrefslogtreecommitdiff
path: root/src/gui/widgets/inventoryfilter.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-12 21:56:26 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-13 01:07:02 +0200
commiteb201e566677f5ae55d1c443aa4254b99cec9e3e (patch)
treed88bb3a1efb486b276a7c1929986dd223e0ba69d /src/gui/widgets/inventoryfilter.cpp
parentbb030b5e646c0cd3fd973a412d0b875049e8e98e (diff)
downloadplus-eb201e566677f5ae55d1c443aa4254b99cec9e3e.tar.gz
plus-eb201e566677f5ae55d1c443aa4254b99cec9e3e.tar.bz2
plus-eb201e566677f5ae55d1c443aa4254b99cec9e3e.tar.xz
plus-eb201e566677f5ae55d1c443aa4254b99cec9e3e.zip
Add inventory sorting.
Diffstat (limited to 'src/gui/widgets/inventoryfilter.cpp')
-rw-r--r--src/gui/widgets/inventoryfilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/inventoryfilter.cpp b/src/gui/widgets/inventoryfilter.cpp
index faceafa9e..aa2f2a5e4 100644
--- a/src/gui/widgets/inventoryfilter.cpp
+++ b/src/gui/widgets/inventoryfilter.cpp
@@ -38,7 +38,7 @@ void InventoryFilter::add(std::string tag)
RadioButton *radio = new RadioButton(tag, mGroup, mCount == 0);
radio->adjustSize();
- radio->setActionEventId("tag_" + tag);
+ radio->setActionEventId(mActionEventId + tag);
radio->addActionListener(this);
HorizontContainer::add(radio);
}