summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-01-19 21:59:24 +0200
committerVadim Savchuk <vsavchuk@productengine.com>2010-01-19 21:59:24 +0200
commitc4a2c1f462cec0e4fe40c6f1caf479ebfa13f25f (patch)
tree63bf08a6d66e305c3e7279802bc5d423128cc340 /indra
parentfd3e2dc4749f2bdec27a834b0585937dc2394ad4 (diff)
Fixed bug EXT-4373 (Edit gesture: 'Save' btn disabled after changes).
Changing name or description now enables the Save button. --HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpreviewgesture.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpreviewgesture.cpp b/indra/newview/llpreviewgesture.cpp
index 2a40cbaba0..84bdaafacf 100644
--- a/indra/newview/llpreviewgesture.cpp
+++ b/indra/newview/llpreviewgesture.cpp
@@ -364,6 +364,12 @@ BOOL LLPreviewGesture::postBuild()
LLTextBox* text;
LLCheckBoxCtrl* check;
+ edit = getChild<LLLineEditor>("name");
+ edit->setKeystrokeCallback(onKeystrokeCommit, this);
+
+ edit = getChild<LLLineEditor>("desc");
+ edit->setKeystrokeCallback(onKeystrokeCommit, this);
+
edit = getChild<LLLineEditor>("trigger_editor");
edit->setKeystrokeCallback(onKeystrokeCommit, this);
edit->setCommitCallback(onCommitSetDirty, this);