From db0f5e2a332f82c006729146727d37315de7dfda Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Thu, 19 Aug 2010 16:22:40 +0200 Subject: 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 --- src/gui/sell.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/sell.cpp') 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() -- cgit v1.2.3-60-g2f50