diff options
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 |