summaryrefslogtreecommitdiff
path: root/indra/llui/llfloater.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2024-08-16 19:27:48 +0300
committerAndrey Kleshchev <117672381+akleshchev@users.noreply.github.com>2024-08-19 08:12:34 +0300
commit7cc3ff55b97b94a3b52daebfe072eb22192c710b (patch)
tree4f9997842ef50b8c1db4ae44dc0fc2bf4271b634 /indra/llui/llfloater.cpp
parent2a81ebba5395981fcc03a62e0f43a3caa7a42156 (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.cpp8
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);