diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-08-19 16:22:40 +0200 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-08-19 08:48:34 -0600 |
commit | db0f5e2a332f82c006729146727d37315de7dfda (patch) | |
tree | 0a65d27cd49540e380112be0e348f322adc5925b /src/gui/sell.cpp | |
parent | af7bbb7b4404439580666b31388dd8dbef481011 (diff) | |
download | mana-client-db0f5e2a332f82c006729146727d37315de7dfda.tar.gz mana-client-db0f5e2a332f82c006729146727d37315de7dfda.tar.bz2 mana-client-db0f5e2a332f82c006729146727d37315de7dfda.tar.xz mana-client-db0f5e2a332f82c006729146727d37315de7dfda.zip |
Fixing some bugs in NPC-shop gui
* Price and total money is now shown from the beginning in sell dialog.
* Item popup is set invisible when mouse has moved away from items.
* Item popup gets deleted when shop closes.
Signed-off-by: Jared Adams <jaxad0127@gmail.com>
Diffstat (limited to 'src/gui/sell.cpp')
-rw-r--r-- | src/gui/sell.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/sell.cpp b/src/gui/sell.cpp index 69ff7ed2..13e0ba99 100644 --- a/src/gui/sell.cpp +++ b/src/gui/sell.cpp @@ -242,6 +242,8 @@ void SellDialog::setMoney(int amount) { mPlayerMoney = amount; mShopItemList->setPlayersMoney(amount); + + updateButtonsAndLabels(); } void SellDialog::updateButtonsAndLabels() |