From 6803003d26debc79c90a1ec20078516ceefb30d5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 26 Feb 2024 20:00:10 +0300 Subject: =?UTF-8?q?fixes=20#4236=20(=D0=9F=D0=B0=D0=B4=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20tabSRMM=20=D1=81=20NewStory=20=D0=BF=D1=80=D0=B8=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B4=D0=B3=D1=80=D1=83=D0=B7=D0=BA=D0=B5=20Histor?= =?UTF-8?q?y++)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/NewStory/src/history_log.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/NewStory/src/history_log.cpp b/plugins/NewStory/src/history_log.cpp index d6a3c53f9e..ec1aec4ff7 100644 --- a/plugins/NewStory/src/history_log.cpp +++ b/plugins/NewStory/src/history_log.cpp @@ -38,10 +38,13 @@ public: m_histCtrl = (NewstoryListData *)GetWindowLongPtr(m_hwnd, 0); m_histCtrl->SetDialog(&m_pDlg); + + WindowList_Add(g_hNewstoryWindows, m_pDlg.GetHwnd(), m_pDlg.m_hContact); } void Detach() override { + WindowList_Remove(g_hNewstoryWindows, m_pDlg.GetHwnd()); ::DestroyWindow(m_hwnd); } -- cgit v1.2.3