summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerkeyboard.cpp
diff options
context:
space:
mode:
authorGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-09-12 09:48:28 -0700
committerGraham Madarasz (Graham Linden) <graham@lindenlab.com>2013-09-12 09:48:28 -0700
commitb6cfd67a36fe34092dd812940bf051994d0317f5 (patch)
tree76f5750d68dbca475502a1678402012845188298 /indra/newview/llviewerkeyboard.cpp
parent5b7da1998a95ccf545ff3b5a38a62e79ee00e1bb (diff)
MAINT-3134 keep chat from opening in response to key confirm on quit dialog, fix mac-only sketchy precedence warning, and re-re-re-re-re-remove patch file that simply will not die.
Diffstat (limited to 'indra/newview/llviewerkeyboard.cpp')
-rwxr-xr-xindra/newview/llviewerkeyboard.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llviewerkeyboard.cpp b/indra/newview/llviewerkeyboard.cpp
index 47a8a04b63..2fbb3bf868 100755
--- a/indra/newview/llviewerkeyboard.cpp
+++ b/indra/newview/llviewerkeyboard.cpp
@@ -534,6 +534,11 @@ void stop_moving( EKeystate s )
void start_chat( EKeystate s )
{
+ if (LLAppViewer::instance()->quitRequested())
+ {
+ return; // can't talk, gotta go, kthxbye!
+ }
+
// start chat
LLFloaterIMNearbyChat::startChat(NULL);
}