diff options
author | Merov Linden <merov@lindenlab.com> | 2010-12-10 16:06:33 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2010-12-10 16:06:33 -0800 |
commit | 8f5f68d1cc904e7774e20677237909940c63168d (patch) | |
tree | c4885fb52d3253eec4604a1c0ebdd5e236e586bc /indra/newview/llfloaterbuycurrency.cpp | |
parent | 0df07ea31afe72b2e30fc061b70b3205925b6107 (diff) |
STORM-524 : Fix update L$ balance when buying currency
Diffstat (limited to 'indra/newview/llfloaterbuycurrency.cpp')
-rw-r--r-- | indra/newview/llfloaterbuycurrency.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llfloaterbuycurrency.cpp b/indra/newview/llfloaterbuycurrency.cpp index 48b00a7964..e21a8594bc 100644 --- a/indra/newview/llfloaterbuycurrency.cpp +++ b/indra/newview/llfloaterbuycurrency.cpp @@ -261,26 +261,29 @@ void LLFloaterBuyCurrencyUI::updateUI() } getChildView("getting_data")->setVisible( !mManager.canBuy() && !hasError); - - // Update L$ balance - LLStatusBar::sendMoneyBalanceRequest(); } void LLFloaterBuyCurrencyUI::onClickBuy() { mManager.buy(getString("buy_currency")); updateUI(); + // Update L$ balance + LLStatusBar::sendMoneyBalanceRequest(); } void LLFloaterBuyCurrencyUI::onClickCancel() { closeFloater(); + // Update L$ balance + LLStatusBar::sendMoneyBalanceRequest(); } void LLFloaterBuyCurrencyUI::onClickErrorWeb() { LLWeb::loadURLExternal(mManager.errorURI()); closeFloater(); + // Update L$ balance + LLStatusBar::sendMoneyBalanceRequest(); } // static |