diff options
author | Jacek Antonelli | 2008-08-15 23:45:37 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:37 -0500 |
commit | 31ba05810c641f14e8ab5da8ad2aaf527779f6c1 (patch) | |
tree | c4b8d635dfb657fa4cfee7c285f8cadbf24afa90 /linden/indra/newview/llcurrencyuimanager.cpp | |
parent | Second Life viewer sources 1.19.1.1 (diff) | |
download | meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.zip meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.gz meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.bz2 meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.xz |
Second Life viewer sources 1.19.1.2
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llcurrencyuimanager.cpp | 8 |
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 | ||