diff options
-rw-r--r-- | plugins/NewStory/src/history_log.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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);
}
|