aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcurrencyuimanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llcurrencyuimanager.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llcurrencyuimanager.cpp b/linden/indra/newview/llcurrencyuimanager.cpp
index 413adf2..74ee8cc 100644
--- a/linden/indra/newview/llcurrencyuimanager.cpp
+++ b/linden/indra/newview/llcurrencyuimanager.cpp
@@ -332,6 +332,7 @@ void LLCurrencyUIManager::Impl::currencyKey(S32 value)
332 // get reset and the cursor will change... 332 // get reset and the cursor will change...
333 333
334 mPanel.childHide("currency_est"); 334 mPanel.childHide("currency_est");
335 mPanel.childSetVisible("getting_data",TRUE);
335 } 336 }
336 337
337 mCurrencyChanged = true; 338 mCurrencyChanged = true;
@@ -392,6 +393,13 @@ void LLCurrencyUIManager::Impl::updateUI()
392 393
393 mPanel.childSetTextArg("currency_est", "[USD]", llformat("%#.2f", mSiteCurrencyEstimatedCost / 100.0)); 394 mPanel.childSetTextArg("currency_est", "[USD]", llformat("%#.2f", mSiteCurrencyEstimatedCost / 100.0));
394 mPanel.childSetVisible("currency_est", mSiteCurrencyEstimated && mUserCurrencyBuy > 0); 395 mPanel.childSetVisible("currency_est", mSiteCurrencyEstimated && mUserCurrencyBuy > 0);
396
397 if (mPanel.childIsEnabled("buy_btn")
398 ||mPanel.childIsVisible("currency_est")
399 || mPanel.childIsVisible("error_web"))
400 {
401 mPanel.childSetVisible("getting_data",FALSE);
402 }
395} 403}
396 404
397 405