aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterbuycurrency.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:37 -0500
committerJacek Antonelli2008-08-15 23:45:37 -0500
commit31ba05810c641f14e8ab5da8ad2aaf527779f6c1 (patch)
treec4b8d635dfb657fa4cfee7c285f8cadbf24afa90 /linden/indra/newview/llfloaterbuycurrency.cpp
parentSecond Life viewer sources 1.19.1.1 (diff)
downloadmeta-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 'linden/indra/newview/llfloaterbuycurrency.cpp')
-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