diff options
author | Josh Bell <josh@lindenlab.com> | 2008-03-04 16:59:57 +0000 |
---|---|---|
committer | Josh Bell <josh@lindenlab.com> | 2008-03-04 16:59:57 +0000 |
commit | a10f9639004b4eedc3b6e7b624912ff4ebd8fdc5 (patch) | |
tree | 051625f9ac6a0d08f613cf11da318c3fd30b06a9 /indra/newview/llfloaterbuycurrency.cpp | |
parent | 62d9c7f76ce4953064fbc2a778ad4ecefb918e01 (diff) |
svn merge -r 81304:81392 svn+ssh://svn.lindenlab.com/svn/linden/branches/maint-ui-8-merge
QAR-343 - merge maint-ui-7 and maint-ui-8 to release
Diffstat (limited to 'indra/newview/llfloaterbuycurrency.cpp')
-rw-r--r-- | indra/newview/llfloaterbuycurrency.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llfloaterbuycurrency.cpp b/indra/newview/llfloaterbuycurrency.cpp index 8866ad7ed1..fb6cb40401 100644 --- a/indra/newview/llfloaterbuycurrency.cpp +++ b/indra/newview/llfloaterbuycurrency.cpp @@ -229,6 +229,10 @@ void LLFloaterBuyCurrencyUI::updateUI() } childSetVisible("error_web", !mManager.errorURI().empty()); + if (!mManager.errorURI().empty()) + { + childHide("getting_data"); + } } else { @@ -308,6 +312,11 @@ void LLFloaterBuyCurrencyUI::updateUI() } childSetEnabled("buy_btn", mManager.canBuy()); + + if (!mManager.canBuy() && !childIsVisible("error_web")) + { + childShow("getting_data"); + } } // static |