diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-12 21:56:26 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-13 01:07:02 +0200 |
commit | eb201e566677f5ae55d1c443aa4254b99cec9e3e (patch) | |
tree | d88bb3a1efb486b276a7c1929986dd223e0ba69d /src/gui/widgets/inventoryfilter.cpp | |
parent | bb030b5e646c0cd3fd973a412d0b875049e8e98e (diff) | |
download | plus-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.cpp | 2 |
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); } |