summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimsession.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/newview/llfloaterimsession.cpp
parent2a81ebba5395981fcc03a62e0f43a3caa7a42156 (diff)
viewer#2296 Don't show 'are you sure you want to leave the call' when shutting down
Diffstat (limited to 'indra/newview/llfloaterimsession.cpp')
-rw-r--r--indra/newview/llfloaterimsession.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimsession.cpp b/indra/newview/llfloaterimsession.cpp
index a2a3dac442..557b3f27c5 100644
--- a/indra/newview/llfloaterimsession.cpp
+++ b/indra/newview/llfloaterimsession.cpp
@@ -138,8 +138,14 @@ void LLFloaterIMSession::onTearOffClicked()
}
// virtual
-void LLFloaterIMSession::onClickCloseBtn(bool)
+void LLFloaterIMSession::onClickCloseBtn(bool app_qutting)
{
+ if (app_qutting)
+ {
+ LLFloaterIMSessionTab::onClickCloseBtn();
+ return;
+ }
+
LLIMModel::LLIMSession* session = LLIMModel::instance().findIMSession(mSessionID);
if (session != NULL)