diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-08-16 19:27:48 +0300 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-08-19 08:12:34 +0300 |
| commit | 7cc3ff55b97b94a3b52daebfe072eb22192c710b (patch) | |
| tree | 4f9997842ef50b8c1db4ae44dc0fc2bf4271b634 /indra/llui/llfloater.cpp | |
| parent | 2a81ebba5395981fcc03a62e0f43a3caa7a42156 (diff) | |
viewer#2296 Don't show 'are you sure you want to leave the call' when shutting down
Diffstat (limited to 'indra/llui/llfloater.cpp')
| -rw-r--r-- | indra/llui/llfloater.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index e6ecf3c283..f29f9286c9 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -1926,6 +1926,14 @@ void LLFloater::onClickClose( LLFloater* self ) self->onClickCloseBtn(); } +// static +void LLFloater::onClickClose(LLFloater* self, bool app_quitting) +{ + if (!self) + return; + self->onClickCloseBtn(app_quitting); +} + void LLFloater::onClickCloseBtn(bool app_quitting) { closeFloater(false); |
