From ff5533969ae8d41a5b29883e39f96320368ff6bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 29 Aug 2017 17:57:39 +0300 Subject: fixes #910 (jabber group chats closed by pressing ESC-key) --- plugins/TabSRMM/src/chat_window.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp index b682843cd9..dc5b73e4b4 100644 --- a/plugins/TabSRMM/src/chat_window.cpp +++ b/plugins/TabSRMM/src/chat_window.cpp @@ -1211,8 +1211,9 @@ LRESULT CChatRoomDlg::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) if (PluginConfig.m_bSoundOnTyping && !isAlt && wParam == VK_DELETE) SkinPlaySound("SoundOnTyping"); - if (ProcessHotkeys(wParam, isShift, isCtrl, isAlt)) - return true; + if (wParam != VK_ESCAPE) + if (ProcessHotkeys(wParam, isShift, isCtrl, isAlt)) + return true; if (wParam == VK_INSERT && !isShift && !isCtrl && !isAlt) { m_bInsertMode = !m_bInsertMode; -- cgit v1.2.3