diff options
author | Ychebotarev ProductEngine <ychebotarev@productengine.com> | 2010-01-26 09:12:34 +0200 |
---|---|---|
committer | Ychebotarev ProductEngine <ychebotarev@productengine.com> | 2010-01-26 09:12:34 +0200 |
commit | 12961b57014f099ad35bd9c2e4dfae1bc4a549c3 (patch) | |
tree | e11e0f7c748401d938cc6206eeda466bc0893e58 | |
parent | bac40450646460466d4d7f266ef6185b6ee0e981 (diff) |
fix for normal EXT-4443 Copying text from notifications fails
--HG--
branch : product-engine
-rw-r--r-- | indra/llui/lltexteditor.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index f2c3879a6c..ae34b0a042 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -2040,6 +2040,19 @@ void LLTextEditor::showContextMenu(S32 x, S32 y) LLMenuHolderGL::child_registry_t::instance()); } + // Route menu to this class + // previously this was done in ::handleRightMoseDown: + //if(hasTabStop()) + // setFocus(TRUE) - why? weird... + // and then inside setFocus + // .... + // gEditMenuHandler = this; + // .... + // but this didn't work in all cases and just weird... + //why not hear? + + gEditMenuHandler = this; + S32 screen_x, screen_y; localPointToScreen(x, y, &screen_x, &screen_y); mContextMenu->show(screen_x, screen_y); |