From ae31281e7662fa974df0903f92d373d22f795520 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sat, 31 Jul 2010 12:26:10 -0700 Subject: Applied shift-enter whisper shortcut patch by Henri Beauchamp, ported by Ansariel Hiller --- linden/indra/newview/llchatbar.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'linden') diff --git a/linden/indra/newview/llchatbar.cpp b/linden/indra/newview/llchatbar.cpp index 4e491a9..5a7586e 100644 --- a/linden/indra/newview/llchatbar.cpp +++ b/linden/indra/newview/llchatbar.cpp @@ -184,6 +184,12 @@ BOOL LLChatBar::handleKeyHere( KEY key, MASK mask ) sendChat(CHAT_TYPE_SHOUT); handled = TRUE; } + else if (mask == MASK_SHIFT) + { + // whisper + sendChat( CHAT_TYPE_WHISPER ); + handled = TRUE; + } else if (mask == MASK_NONE) { // say -- cgit v1.1