diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-09-21 17:13:48 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-09-21 17:13:48 +0300 |
commit | 7c00db9e0e2b3ba2ecae376fdf722977565e4283 (patch) | |
tree | 4e8bba068b03b560a8f13eccd16a0c5bc7fa2d09 /indra/newview | |
parent | c990a6a82dda1ea7cb257f2d6ff9156e4fc0d766 (diff) |
SL-16020 FIXED The gesture's name is changed to default 'New Gesture' name after the first gesture's editing
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpreviewgesture.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llpreviewgesture.cpp b/indra/newview/llpreviewgesture.cpp index 18c2fb5452..d81f8a5ada 100644 --- a/indra/newview/llpreviewgesture.cpp +++ b/indra/newview/llpreviewgesture.cpp @@ -347,9 +347,6 @@ BOOL LLPreviewGesture::postBuild() LLTextBox* text; LLCheckBoxCtrl* check; - edit = getChild<LLLineEditor>("name"); - edit->setKeystrokeCallback(onKeystrokeCommit, this); - edit = getChild<LLLineEditor>("desc"); edit->setKeystrokeCallback(onKeystrokeCommit, this); @@ -482,9 +479,6 @@ BOOL LLPreviewGesture::postBuild() { getChild<LLUICtrl>("desc")->setValue(item->getDescription()); getChild<LLLineEditor>("desc")->setPrevalidate(&LLTextValidate::validateASCIIPrintableNoPipe); - - getChild<LLUICtrl>("name")->setValue(item->getName()); - getChild<LLLineEditor>("name")->setPrevalidate(&LLTextValidate::validateASCIIPrintableNoPipe); } return LLPreview::postBuild(); |