MAINT-3788 FIXED [Profile Notes] CTRL+cursor (e.g. CTRL+LEFT ARROW) doesn't work in the profile notes editor.

Left, Right, Home, End now work in profile notes.
meow-7.2.2
andreykproductengine 2014-09-26 18:03:50 +03:00
parent d4dee3fafc
commit e0efa75ab7
1 changed files with 1 additions and 1 deletions

View File

@ -2703,7 +2703,7 @@ bool LLViewerMediaImpl::handleKeyHere(KEY key, MASK mask)
{
// FIXME: THIS IS SO WRONG.
// Menu keys should be handled by the menu system and not passed to UI elements, but this is how LLTextEditor and LLLineEditor do it...
if( MASK_CONTROL & mask )
if( MASK_CONTROL & mask && key != KEY_LEFT && key != KEY_RIGHT && key != KEY_HOME && key != KEY_END)
{
result = true;
}