summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewgesture.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-12-15 17:10:53 -0800
committerJames Cook <james@lindenlab.com>2009-12-15 17:10:53 -0800
commitb030bb6e55df8574adfc38bc3d092176b34214b4 (patch)
tree855f700ce9f689864513b59c6652cb8af37a45af /indra/newview/llpreviewgesture.cpp
parent1bb4c9e1c9e9d797d4f49152afe4ff80ba22405d (diff)
parent4428d4039fdf42932b39a861566a7ed2d2c2c946 (diff)
Merge
Diffstat (limited to 'indra/newview/llpreviewgesture.cpp')
-rw-r--r--indra/newview/llpreviewgesture.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpreviewgesture.cpp b/indra/newview/llpreviewgesture.cpp
index 30cb21c83c..e2eee6708a 100644
--- a/indra/newview/llpreviewgesture.cpp
+++ b/indra/newview/llpreviewgesture.cpp
@@ -495,6 +495,10 @@ BOOL LLPreviewGesture::postBuild()
childSetCommitCallback("desc", LLPreview::onText, this);
childSetText("desc", item->getDescription());
childSetPrevalidate("desc", &LLLineEditor::prevalidateASCIIPrintableNoPipe);
+
+ childSetCommitCallback("name", LLPreview::onText, this);
+ childSetText("name", item->getName());
+ childSetPrevalidate("name", &LLLineEditor::prevalidateASCIIPrintableNoPipe);
}
return LLPreview::postBuild();