From 32e5ab92cc12b7274dc7fa71afede04d5145c899 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 Mar 2017 13:39:05 +0300 Subject: crash fix --- plugins/Scriver/src/chat/window.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/Scriver/src/chat/window.cpp b/plugins/Scriver/src/chat/window.cpp index 9dd59362d8..7b88b9ddf5 100644 --- a/plugins/Scriver/src/chat/window.cpp +++ b/plugins/Scriver/src/chat/window.cpp @@ -908,6 +908,8 @@ CChatRoomDlg::CChatRoomDlg(SESSION_INFO *si) void CChatRoomDlg::OnInitDialog() { + m_si->pDlg = this; + NotifyLocalWinEvent(m_hContact, m_hwnd, MSG_WINDOW_EVT_OPENING); SetWindowLongPtr(m_hwnd, GWLP_USERDATA, (LONG_PTR)this); -- cgit v1.2.3