Fixed bug EXT-4373 (Edit gesture: 'Save' btn disabled after changes).

Changing name or description now enables the Save button.

--HG--
branch : product-engine
meow-7.2.2
Vadim Savchuk 2010-01-19 21:59:24 +02:00
parent fd3e2dc474
commit c4a2c1f462
1 changed files with 6 additions and 0 deletions

View File

@ -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);