aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterbuycurrency.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloaterbuycurrency.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterbuycurrency.cpp b/linden/indra/newview/llfloaterbuycurrency.cpp
index f4e1118..dd7732d 100644
--- a/linden/indra/newview/llfloaterbuycurrency.cpp
+++ b/linden/indra/newview/llfloaterbuycurrency.cpp
@@ -229,6 +229,10 @@ void LLFloaterBuyCurrencyUI::updateUI()
229 } 229 }
230 230
231 childSetVisible("error_web", !mManager.errorURI().empty()); 231 childSetVisible("error_web", !mManager.errorURI().empty());
232 if (!mManager.errorURI().empty())
233 {
234 childHide("getting_data");
235 }
232 } 236 }
233 else 237 else
234 { 238 {
@@ -308,6 +312,11 @@ void LLFloaterBuyCurrencyUI::updateUI()
308 } 312 }
309 313
310 childSetEnabled("buy_btn", mManager.canBuy()); 314 childSetEnabled("buy_btn", mManager.canBuy());
315
316 if (!mManager.canBuy() && !childIsVisible("error_web"))
317 {
318 childShow("getting_data");
319 }
311} 320}
312 321
313// static 322// static