diff options
author | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:42 -0500 |
commit | ce28e056c20bf2723f565bbf464b87781ec248a2 (patch) | |
tree | ef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/newview/llfloaternamedesc.cpp | |
parent | Second Life viewer sources 1.19.1.4b (diff) | |
download | meta-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 'linden/indra/newview/llfloaternamedesc.cpp')
-rw-r--r-- | linden/indra/newview/llfloaternamedesc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaternamedesc.cpp b/linden/indra/newview/llfloaternamedesc.cpp index f49c951..eddb4b3 100644 --- a/linden/indra/newview/llfloaternamedesc.cpp +++ b/linden/indra/newview/llfloaternamedesc.cpp | |||
@@ -45,7 +45,7 @@ | |||
45 | #include "lldir.h" | 45 | #include "lldir.h" |
46 | #include "llviewercontrol.h" | 46 | #include "llviewercontrol.h" |
47 | #include "llviewermenufile.h" // upload_new_resource() | 47 | #include "llviewermenufile.h" // upload_new_resource() |
48 | #include "llvieweruictrlfactory.h" | 48 | #include "lluictrlfactory.h" |
49 | 49 | ||
50 | // linden includes | 50 | // linden includes |
51 | #include "llassetstorage.h" | 51 | #include "llassetstorage.h" |
@@ -119,7 +119,7 @@ BOOL LLFloaterNameDesc::postBuild() | |||
119 | childSetCommitCallback("name_form", doCommit, this); | 119 | childSetCommitCallback("name_form", doCommit, this); |
120 | childSetValue("name_form", LLSD(asset_name)); | 120 | childSetValue("name_form", LLSD(asset_name)); |
121 | 121 | ||
122 | LLLineEditor *NameEditor = LLViewerUICtrlFactory::getLineEditorByName(this, "name_form"); | 122 | LLLineEditor *NameEditor = getChild<LLLineEditor>("name_form"); |
123 | if (NameEditor) | 123 | if (NameEditor) |
124 | { | 124 | { |
125 | NameEditor->setMaxTextLength(DB_INV_ITEM_NAME_STR_LEN); | 125 | NameEditor->setMaxTextLength(DB_INV_ITEM_NAME_STR_LEN); |
@@ -131,7 +131,7 @@ BOOL LLFloaterNameDesc::postBuild() | |||
131 | 131 | ||
132 | r.setLeftTopAndSize( PREVIEW_HPAD, y, line_width, PREVIEW_LINE_HEIGHT ); | 132 | r.setLeftTopAndSize( PREVIEW_HPAD, y, line_width, PREVIEW_LINE_HEIGHT ); |
133 | childSetCommitCallback("description_form", doCommit, this); | 133 | childSetCommitCallback("description_form", doCommit, this); |
134 | LLLineEditor *DescEditor = LLViewerUICtrlFactory::getLineEditorByName(this, "description_form"); | 134 | LLLineEditor *DescEditor = getChild<LLLineEditor>("description_form"); |
135 | if (DescEditor) | 135 | if (DescEditor) |
136 | { | 136 | { |
137 | DescEditor->setMaxTextLength(DB_INV_ITEM_DESC_STR_LEN); | 137 | DescEditor->setMaxTextLength(DB_INV_ITEM_DESC_STR_LEN); |