diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-04-05 14:29:35 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-04-05 14:29:35 +0300 |
commit | 26809498db128f2f69da3d04ae2b736f78f6e13a (patch) | |
tree | e3925853f2fda066ddc6d9725f417d570f71f5ca /indra/newview/llfloaterimnearbychat.cpp | |
parent | 5580080276bd120a65d49267fc10e08c92706e1e (diff) |
MAINT-3595 Add the ability to turn off auto-complete of gestures in local chat
Diffstat (limited to 'indra/newview/llfloaterimnearbychat.cpp')
-rw-r--r-- | indra/newview/llfloaterimnearbychat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimnearbychat.cpp b/indra/newview/llfloaterimnearbychat.cpp index 40ae22bb4e..7895a5ff48 100644 --- a/indra/newview/llfloaterimnearbychat.cpp +++ b/indra/newview/llfloaterimnearbychat.cpp @@ -485,7 +485,8 @@ void LLFloaterIMNearbyChat::onChatBoxKeystroke() KEY key = gKeyboard->currentKey(); // Ignore "special" keys, like backspace, arrows, etc. - if (length > 1 + if (gSavedSettings.getBOOL("ChatAutocompleteGestures") + && length > 1 && raw_text[0] == '/' && key < KEY_SPECIAL) { |