summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
authorJonathan Yap <jhwelch@gmail.com>2014-12-28 09:34:28 -0500
committerJonathan Yap <jhwelch@gmail.com>2014-12-28 09:34:28 -0500
commit2d7fb5c67580620fd707b4fde3c497886e050dd1 (patch)
treecbab45e4cdc1bf826a2104f688e051b826764c4f /indra/llui/lltexteditor.cpp
parent4ec9bce3c2a715f53938e4568c95b7a2bdfc9e16 (diff)
STORM-2094 Save button not activated if spelling corrected in Notecard and no other changes made
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rwxr-xr-xindra/llui/lltexteditor.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index cf5fdef539..227b1f91a9 100755
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -2380,6 +2380,14 @@ void LLTextEditor::removeTextFromEnd(S32 num_chars)
//----------------------------------------------------------------------------
+void LLTextEditor::onSpellCheckPerformed()
+{
+ if (isPristine())
+ {
+ mBaseDocIsPristine = FALSE;
+ }
+}
+
void LLTextEditor::makePristine()
{
mPristineCmd = mLastCmd;