diff options
author | Oz Linden <oz@lindenlab.com> | 2015-10-12 15:24:56 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2015-10-12 15:24:56 -0400 |
commit | d17614ca6121dde0ec917664796f263045ad5b6c (patch) | |
tree | 79535b8ab5cfb38302aaa46dc0531ea5a67da9aa /indra/newview/llfloaterjoystick.cpp | |
parent | 22e3e8461cf5a36754369c2648b1b4cd252a4d5c (diff) | |
parent | 4312629e7c5749b86add9d42e6e550602f34dbf5 (diff) |
merge changes for 3.8.5-release
Diffstat (limited to 'indra/newview/llfloaterjoystick.cpp')
-rwxr-xr-x | indra/newview/llfloaterjoystick.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llfloaterjoystick.cpp b/indra/newview/llfloaterjoystick.cpp index b7fff6cae3..ee3d633dd0 100755 --- a/indra/newview/llfloaterjoystick.cpp +++ b/indra/newview/llfloaterjoystick.cpp @@ -326,7 +326,21 @@ void LLFloaterJoystick::onClickOK(void *joy_panel) } } +void LLFloaterJoystick::onClickCloseBtn(bool app_quitting) +{ + cancel(); + closeFloater(app_quitting); +} + void LLFloaterJoystick::setSNDefaults() { LLViewerJoystick::getInstance()->setSNDefaults(); } + +void LLFloaterJoystick::onClose(bool app_quitting) +{ + if (app_quitting) + { + cancel(); + } +} |