diff options
author | dolphin <dolphin@lindenlab.com> | 2013-10-25 09:52:31 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2013-10-25 09:52:31 -0700 |
commit | 7bbb802385e58b1f9c2e7b04ad2f3f20c125be44 (patch) | |
tree | 88ccb7d4cc17bb9615ee61ef001f8cb8963252fb /indra/newview/llviewerkeyboard.cpp | |
parent | a6faeac94530e59d2c2a56df63a1d78e00fb0247 (diff) | |
parent | ea1e1b0925b386cf83178539b8eae9e25c573548 (diff) |
Merge with 3.6.9
Diffstat (limited to 'indra/newview/llviewerkeyboard.cpp')
-rwxr-xr-x | indra/newview/llviewerkeyboard.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llviewerkeyboard.cpp b/indra/newview/llviewerkeyboard.cpp index 2fbb3bf868..aa9de076b8 100755 --- a/indra/newview/llviewerkeyboard.cpp +++ b/indra/newview/llviewerkeyboard.cpp @@ -687,7 +687,10 @@ BOOL LLViewerKeyboard::handleKey(KEY translated_key, MASK translated_mask, BOOL { // it is sufficient to set this value once per call to handlekey // without clearing it, as it is only used in the subsequent call to scanKey - mKeyHandledByUI[translated_key] = gViewerWindow->handleKey(translated_key, translated_mask); + mKeyHandledByUI[translated_key] = gViewerWindow->handleKey(translated_key, translated_mask); + // mKeyHandledByUI is not what you think ... this indicates whether the UI has handled this keypress yet (any keypress) + // NOT whether some UI shortcut wishes to handle the keypress + } return mKeyHandledByUI[translated_key]; } |