summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterhowto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llfloaterhowto.cpp')
-rw-r--r--indra/newview/llfloaterhowto.cpp13
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;
+}