diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp index cbfab03a28..ec3a659073 100644 --- a/indra/llui/lllineeditor.cpp +++ b/indra/llui/lllineeditor.cpp @@ -589,7 +589,7 @@ void LLLineEditor::selectAll() setCursor(mSelectionEnd); //mScrollHPos = 0; mIsSelecting = TRUE; - updatePrimary(); + } // [SL:KB] - Patch: Misc-Spellcheck | Checked: 2010-12-19 (Catznip-2.7.0a) | Added: Catznip-2.5.0a @@ -750,9 +750,6 @@ BOOL LLLineEditor::handleDoubleClick(S32 x, S32 y, MASK mask) // delay cursor flashing mKeystrokeTimer.reset(); - // take selection to 'primary' clipboard - updatePrimary(); - return TRUE; } @@ -1178,12 +1175,6 @@ BOOL LLLineEditor::handleSelectionKey(KEY key, MASK mask) break; } } - - if(handled) - { - // take selection to 'primary' clipboard - updatePrimary(); - } return handled; } diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index c0b503a7ab..8c17644d07 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -699,7 +699,6 @@ void LLTextEditor::selectAll() mSelectionStart = getLength(); mSelectionEnd = 0; setCursorPos(mSelectionEnd); - updatePrimary(); } // [SL:KB] - Patch: Misc-Spellcheck | Checked: 2011-09-09 (Catznip-2.8.0a) | Added: Catznip-2.8.0a @@ -1026,8 +1025,6 @@ BOOL LLTextEditor::handleDoubleClick(S32 x, S32 y, MASK mask) // delay cursor flashing resetCursorBlink(); - // take selection to 'primary' clipboard - updatePrimary(); handled = TRUE; } @@ -1345,12 +1342,6 @@ BOOL LLTextEditor::handleSelectionKey(const KEY key, const MASK mask) } } - if( handled ) - { - // take selection to 'primary' clipboard - updatePrimary(); - } - return handled; } @@ -1713,11 +1704,6 @@ BOOL LLTextEditor::handleControlKey(const KEY key, const MASK mask) } } - if (handled) - { - updatePrimary(); - } - return handled; }