From a48da201406f435d917b564a08b53eef6e4e321e Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Mon, 24 Apr 2017 15:49:25 +0300 Subject: MAINT-7340 FIXED Incoming IMs steal focus if "Open conversation window" setting is enabled --- indra/newview/llimview.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index bcda9baa9a..feef726630 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -269,8 +269,11 @@ void notify_of_message(const LLSD& msg, bool is_dnd_msg) { if(!gAgent.isDoNotDisturb()) { - // Open conversations floater - LLFloaterReg::showInstance("im_container"); + if(!LLAppViewer::instance()->quitRequested() && !LLFloater::isVisible(im_box)) + { + // Open conversations floater + LLFloaterReg::showInstance("im_container"); + } im_box->collapseMessagesPane(false); if (session_floater) { -- cgit v1.2.3