diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-05-11 13:25:57 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2021-05-11 13:25:57 +0300 |
commit | e4dc39cf19a00ab148de6d1bd6c4cd229cf545f5 (patch) | |
tree | 713c02d6714674b1223ec284c6d9597603526253 /indra/newview/llfloaterhowto.cpp | |
parent | 713ab594d376c87e891647d8e2be013e4b9f92d8 (diff) |
SL-15249 FIXED The F1 key does not close the guidebook after clicking a link
Diffstat (limited to 'indra/newview/llfloaterhowto.cpp')
-rw-r--r-- | indra/newview/llfloaterhowto.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/llfloaterhowto.cpp b/indra/newview/llfloaterhowto.cpp index 6e913b08ea..2bd2c47dd7 100644 --- a/indra/newview/llfloaterhowto.cpp +++ b/indra/newview/llfloaterhowto.cpp @@ -83,3 +83,16 @@ LLFloaterHowTo* LLFloaterHowTo::getInstance() { return LLFloaterReg::getTypedInstance<LLFloaterHowTo>("how_to"); } + +BOOL LLFloaterHowTo::handleKeyHere(KEY key, MASK mask) +{ + BOOL handled = FALSE; + + if (KEY_F1 == key ) + { + closeFloater(); + handled = TRUE; + } + + return handled; +} |