aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcurrencyuimanager.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llcurrencyuimanager.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
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);