aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcurrencyuimanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llcurrencyuimanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llcurrencyuimanager.cpp b/linden/indra/newview/llcurrencyuimanager.cpp
index 74ee8cc..8964054 100644
--- a/linden/indra/newview/llcurrencyuimanager.cpp
+++ b/linden/indra/newview/llcurrencyuimanager.cpp
@@ -349,7 +349,7 @@ void LLCurrencyUIManager::Impl::onCurrencyKey(
349 349
350void LLCurrencyUIManager::Impl::prepare() 350void LLCurrencyUIManager::Impl::prepare()
351{ 351{
352 LLLineEditor* lindenAmount = LLUICtrlFactory::getLineEditorByName(&mPanel,"currency_amt"); 352 LLLineEditor* lindenAmount = mPanel.getChild<LLLineEditor>("currency_amt");
353 if (lindenAmount) 353 if (lindenAmount)
354 { 354 {
355 lindenAmount->setPrevalidate(LLLineEditor::prevalidateNonNegativeS32); 355 lindenAmount->setPrevalidate(LLLineEditor::prevalidateNonNegativeS32);
@@ -370,7 +370,7 @@ void LLCurrencyUIManager::Impl::updateUI()
370 370
371 mPanel.childShow("currency_action"); 371 mPanel.childShow("currency_action");
372 372
373 LLLineEditor* lindenAmount = LLUICtrlFactory::getLineEditorByName(&mPanel,"currency_amt"); 373 LLLineEditor* lindenAmount = mPanel.getChild<LLLineEditor>("currency_amt");
374 if (lindenAmount) 374 if (lindenAmount)
375 { 375 {
376 lindenAmount->setVisible(true); 376 lindenAmount->setVisible(true);