From 208dcc64cdb4905e637228e23213b0d3b63c82a9 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 28 Dec 2004 22:15:14 +0000 Subject: A few cleanups and small fix to sell dialog. --- src/gui/sell.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/sell.cpp') 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) -- cgit v1.2.3-70-g09d2