diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-13 21:24:47 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-13 21:24:47 +0000 |
commit | 48bd665f9048cd99cc70f324ae04e20ad64d5c70 (patch) | |
tree | 5cd63c8cf0093abb7f4db60fb44aab4143eb75ed /src | |
parent | 4d80029ffb20996e55ff3532b92c02737dad581d (diff) | |
download | mana-client-48bd665f9048cd99cc70f324ae04e20ad64d5c70.tar.gz mana-client-48bd665f9048cd99cc70f324ae04e20ad64d5c70.tar.bz2 mana-client-48bd665f9048cd99cc70f324ae04e20ad64d5c70.tar.xz mana-client-48bd665f9048cd99cc70f324ae04e20ad64d5c70.zip |
Reset selection in the sell dialog if all items at the selected slot are sold.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/sell.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp index 920d90f6..6bac0bb1 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -256,6 +256,7 @@ void SellDialog::action(const std::string& eventId) { slider->setEnabled(false); increaseButton->setEnabled(false); + itemList->setSelected(-1); shopInventory.erase(shopInventory.begin() += selectedItem); } else |