From 5c4c165204abee25ccdd8ce0d585d708da29c275 Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Fri, 19 Nov 2010 02:08:02 +0100 Subject: [PATCH] Shift Enter whispers --- indra/newview/llchatbar.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/newview/llchatbar.cpp b/indra/newview/llchatbar.cpp index d113cdc24..f0e0a1b06 100644 --- a/indra/newview/llchatbar.cpp +++ b/indra/newview/llchatbar.cpp @@ -187,6 +187,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