diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-04-11 23:18:45 +0200 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-04-11 23:18:45 +0200 |
commit | c4180b083a13ac03d294838c578a9cd9862ddaf9 (patch) | |
tree | 22159e3b656160066d93176434a4fb6d3a496335 /src | |
parent | 13c4a1131854887ac9ec83f80c7964f6b2949c87 (diff) | |
download | mana-client-c4180b083a13ac03d294838c578a9cd9862ddaf9.tar.gz mana-client-c4180b083a13ac03d294838c578a9cd9862ddaf9.tar.bz2 mana-client-c4180b083a13ac03d294838c578a9cd9862ddaf9.tar.xz mana-client-c4180b083a13ac03d294838c578a9cd9862ddaf9.zip |
Fixing missing call to updateButtonsAndLabels() in NPC buy dialog
Reviewed-by: Thorbjorn
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/buy.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp index faa86cc9..299633e9 100644 --- a/src/gui/buy.cpp +++ b/src/gui/buy.cpp @@ -203,11 +203,7 @@ void BuyDialog::action(const gcn::ActionEvent &event) if (price < 0) price = 0; setMoney(mMoney - mAmountItems * price); - - // Reset selection - mAmountItems = 1; - mSlider->setValue(1); - mSlider->gcn::Slider::setScale(1, mMaxItems); + valueChanged(gcn::SelectionEvent(mShopItemList)); } } |