diff options
author | Richard Linden <none@none> | 2010-04-01 15:48:56 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-04-01 15:48:56 -0700 |
commit | dcc5e0a4faaf7d877a736ade4a334d1936e71bef (patch) | |
tree | 47127fda3e0a4509486261965f3fdcd116e97376 /indra/llui/lltexteditor.cpp | |
parent | 39ef9e9dd6cbeb26b7e223888a17380a272370bb (diff) |
EXT-3531 - Ctrl-p doesn't work reliably on login
moved gEditMenuHandler handling to LLEditMenuHandler destructor
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rw-r--r-- | indra/llui/lltexteditor.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 94c7ebec2a..c9751c8139 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -304,13 +304,7 @@ void LLTextEditor::initFromParams( const LLTextEditor::Params& p) LLTextEditor::~LLTextEditor() { gFocusMgr.releaseFocusIfNeeded( this ); // calls onCommit() while LLTextEditor still valid - - // Route menu back to the default - if( gEditMenuHandler == this ) - { - gEditMenuHandler = NULL; - } - + // Scrollbar is deleted by LLView std::for_each(mUndoStack.begin(), mUndoStack.end(), DeletePointer()); |