From a427d9066d300620f6dd63e93824adf42188dbcc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 17 Apr 2020 11:38:16 +0300 Subject: =?UTF-8?q?fixes=20#2344=20(TabSRMM:=20=D0=BD=D0=B5=20=D0=BC=D0=B8?= =?UTF-8?q?=D0=B3=D0=B0=D0=B5=D1=82=20=D0=B8=D0=BA=D0=BE=D0=BD=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=B2=20=D1=82=D1=80=D0=B5=D0=B5=20=D0=B8=20=D0=BD=D0=B5?= =?UTF-8?q?=D1=82=20=D0=B7=D0=BD=D0=B0=D1=87=D0=BA=D0=B0=20=D0=B2=20=D0=BA?= =?UTF-8?q?=D0=BB=D0=B8=D1=81=D1=82=D0=B5=20=D0=BF=D1=80=D0=B8=20=D0=BD?= =?UTF-8?q?=D0=BE=D0=B2=D0=BE=D0=BC=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B8=20TabSRMM=20bug=20regression)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/TabSRMM/src/container.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 3185e9f700..2e3e4f8e82 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -2269,9 +2269,10 @@ void TSAPI AutoCreateWindow(MCONTACT hContact, MEVENT hDbEvent) if (pContainer == nullptr && bAutoContainer) pContainer = CreateContainer(szName, CNT_CREATEFLAG_MINIMIZED, hContact); - if (pContainer != nullptr) + if (pContainer != nullptr) { CreateNewTabForContact(pContainer, hContact, false, bPopup, true, hDbEvent); - return; + return; + } } // no window created, simply add an unread event to contact list -- cgit v1.2.3