summaryrefslogtreecommitdiff
path: root/src/gui/sell.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 22:15:14 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 22:15:14 +0000
commit208dcc64cdb4905e637228e23213b0d3b63c82a9 (patch)
tree450b46e11702d7980375ae5ef817456ec033ceb9 /src/gui/sell.cpp
parentd9b0d3ec1d3af85bfe35a7dd5d4d2ee2a9fb8331 (diff)
downloadmana-client-208dcc64cdb4905e637228e23213b0d3b63c82a9.tar.gz
mana-client-208dcc64cdb4905e637228e23213b0d3b63c82a9.tar.bz2
mana-client-208dcc64cdb4905e637228e23213b0d3b63c82a9.tar.xz
mana-client-208dcc64cdb4905e637228e23213b0d3b63c82a9.zip
A few cleanups and small fix to sell dialog.
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)