aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpanelclassified.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpanelclassified.cpp')
-rw-r--r--linden/indra/newview/llpanelclassified.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llpanelclassified.cpp b/linden/indra/newview/llpanelclassified.cpp
index 7b9c3f8..45c4e38 100644
--- a/linden/indra/newview/llpanelclassified.cpp
+++ b/linden/indra/newview/llpanelclassified.cpp
@@ -231,14 +231,14 @@ BOOL LLPanelClassified::postBuild()
231 mNameEditor = LLViewerUICtrlFactory::getLineEditorByName(this, "given_name_editor"); 231 mNameEditor = LLViewerUICtrlFactory::getLineEditorByName(this, "given_name_editor");
232 mNameEditor->setMaxTextLength(DB_PARCEL_NAME_LEN); 232 mNameEditor->setMaxTextLength(DB_PARCEL_NAME_LEN);
233 mNameEditor->setCommitOnFocusLost(TRUE); 233 mNameEditor->setCommitOnFocusLost(TRUE);
234 mNameEditor->setFocusReceivedCallback(onFocusReceived, this); 234 mNameEditor->setFocusReceivedCallback(focusReceived, this);
235 mNameEditor->setCommitCallback(onCommitAny); 235 mNameEditor->setCommitCallback(onCommitAny);
236 mNameEditor->setCallbackUserData(this); 236 mNameEditor->setCallbackUserData(this);
237 mNameEditor->setPrevalidate( LLLineEditor::prevalidateASCII ); 237 mNameEditor->setPrevalidate( LLLineEditor::prevalidateASCII );
238 238
239 mDescEditor = LLUICtrlFactory::getTextEditorByName(this, "desc_editor"); 239 mDescEditor = LLUICtrlFactory::getTextEditorByName(this, "desc_editor");
240 mDescEditor->setCommitOnFocusLost(TRUE); 240 mDescEditor->setCommitOnFocusLost(TRUE);
241 mDescEditor->setFocusReceivedCallback(onFocusReceived, this); 241 mDescEditor->setFocusReceivedCallback(focusReceived, this);
242 mDescEditor->setCommitCallback(onCommitAny); 242 mDescEditor->setCommitCallback(onCommitAny);
243 mDescEditor->setCallbackUserData(this); 243 mDescEditor->setCallbackUserData(this);
244 mDescEditor->setTabsToNextField(TRUE); 244 mDescEditor->setTabsToNextField(TRUE);
@@ -965,7 +965,7 @@ void LLPanelClassified::onCommitAny(LLUICtrl* ctrl, void* data)
965} 965}
966 966
967// static 967// static
968void LLPanelClassified::onFocusReceived(LLFocusableElement* ctrl, void* data) 968void LLPanelClassified::focusReceived(LLFocusableElement* ctrl, void* data)
969{ 969{
970 // allow the data to be saved 970 // allow the data to be saved
971 onCommitAny((LLUICtrl*)ctrl, data); 971 onCommitAny((LLUICtrl*)ctrl, data);