summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r--src/gui/sell.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp
index f807d1c4..4dc210a4 100644
--- a/src/gui/sell.cpp
+++ b/src/gui/sell.cpp
@@ -77,6 +77,9 @@ SellDialog::~SellDialog()
void SellDialog::reset()
{
shopInventory.clear();
+ slider->setValue(0.0);
+ quantityLabel->setCaption("0");
+ quantityLabel->adjustSize();
}
void SellDialog::addItem(short index, int price)