summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/sell.cpp1
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