diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-28 22:15:14 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-28 22:15:14 +0000 |
commit | 208dcc64cdb4905e637228e23213b0d3b63c82a9 (patch) | |
tree | 450b46e11702d7980375ae5ef817456ec033ceb9 /src/gui/sell.cpp | |
parent | d9b0d3ec1d3af85bfe35a7dd5d4d2ee2a9fb8331 (diff) | |
download | mana-208dcc64cdb4905e637228e23213b0d3b63c82a9.tar.gz mana-208dcc64cdb4905e637228e23213b0d3b63c82a9.tar.bz2 mana-208dcc64cdb4905e637228e23213b0d3b63c82a9.tar.xz mana-208dcc64cdb4905e637228e23213b0d3b63c82a9.zip |
A few cleanups and small fix to sell dialog.
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r-- | src/gui/sell.cpp | 3 |
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) |