Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
e4dc39cf
Commit
e4dc39cf
authored
3 years ago
by
Mnikolenko Productengine
Browse files
Options
Downloads
Patches
Plain Diff
SL-15249 FIXED The F1 key does not close the guidebook after clicking a link
parent
713ab594
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
indra/newview/llfloaterhowto.cpp
+13
-0
13 additions, 0 deletions
indra/newview/llfloaterhowto.cpp
indra/newview/llfloaterhowto.h
+2
-0
2 additions, 0 deletions
indra/newview/llfloaterhowto.h
with
15 additions
and
0 deletions
indra/newview/llfloaterhowto.cpp
+
13
−
0
View file @
e4dc39cf
...
...
@@ -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
;
}
This diff is collapsed.
Click to expand it.
indra/newview/llfloaterhowto.h
+
2
−
0
View file @
e4dc39cf
...
...
@@ -44,6 +44,8 @@ class LLFloaterHowTo :
void
onOpen
(
const
LLSD
&
key
)
override
;
virtual
BOOL
handleKeyHere
(
KEY
key
,
MASK
mask
);
static
LLFloaterHowTo
*
getInstance
();
bool
matchesKey
(
const
LLSD
&
key
)
override
{
return
true
;
/*single instance*/
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment