summaryrefslogtreecommitdiff
path: root/indra/llui/lllineeditor.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-04-01 15:51:24 -0700
committerRichard Linden <none@none>2010-04-01 15:51:24 -0700
commitf252d0d1a0ea9966fa5225e4c6dd64774c2c5444 (patch)
treed15bc414e922d2c01bef184590ed289661217103 /indra/llui/lllineeditor.cpp
parent51e1c6b78a36cb968b9b3ea3d37a14dbe2609e8a (diff)
parentdcc5e0a4faaf7d877a736ade4a334d1936e71bef (diff)
merge
Diffstat (limited to 'indra/llui/lllineeditor.cpp')
-rw-r--r--indra/llui/lllineeditor.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp
index ce0c0befe0..843f72d8e4 100644
--- a/indra/llui/lllineeditor.cpp
+++ b/indra/llui/lllineeditor.cpp
@@ -190,12 +190,8 @@ LLLineEditor::~LLLineEditor()
{
mCommitOnFocusLost = FALSE;
+ // calls onCommit() while LLLineEditor still valid
gFocusMgr.releaseFocusIfNeeded( this );
-
- if( gEditMenuHandler == this )
- {
- gEditMenuHandler = NULL;
- }
}