diff options
Diffstat (limited to 'linden/indra/newview/llpanelpick.cpp')
-rw-r--r-- | linden/indra/newview/llpanelpick.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llpanelpick.cpp b/linden/indra/newview/llpanelpick.cpp index 533702a..eddbc45 100644 --- a/linden/indra/newview/llpanelpick.cpp +++ b/linden/indra/newview/llpanelpick.cpp | |||
@@ -134,7 +134,7 @@ BOOL LLPanelPick::postBuild() | |||
134 | mDescEditor->setCommitOnFocusLost(TRUE); | 134 | mDescEditor->setCommitOnFocusLost(TRUE); |
135 | mDescEditor->setCommitCallback(onCommitAny); | 135 | mDescEditor->setCommitCallback(onCommitAny); |
136 | mDescEditor->setCallbackUserData(this); | 136 | mDescEditor->setCallbackUserData(this); |
137 | mDescEditor->setTabToNextField(TRUE); | 137 | mDescEditor->setTabsToNextField(TRUE); |
138 | 138 | ||
139 | mLocationEditor = LLViewerUICtrlFactory::getLineEditorByName(this, "location_editor"); | 139 | mLocationEditor = LLViewerUICtrlFactory::getLineEditorByName(this, "location_editor"); |
140 | 140 | ||
@@ -507,7 +507,7 @@ void LLPanelPick::onCommitAny(LLUICtrl* ctrl, void* data) | |||
507 | } | 507 | } |
508 | else | 508 | else |
509 | {*/ | 509 | {*/ |
510 | LLTabContainerVertical* tab = (LLTabContainerVertical*)self->getParent(); | 510 | LLTabContainer* tab = (LLTabContainer*)self->getParent(); |
511 | if (tab) | 511 | if (tab) |
512 | { | 512 | { |
513 | if(tab) tab->setCurrentTabName(self->mNameEditor->getText()); | 513 | if(tab) tab->setCurrentTabName(self->mNameEditor->getText()); |