diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-29 17:57:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-29 17:57:39 +0300 |
commit | ff5533969ae8d41a5b29883e39f96320368ff6bf (patch) | |
tree | 786e06e100c4a89f55faa16b20eaee11cf6bf157 | |
parent | 3a8879d68539321e154fb0f19dec3e1be67e82d5 (diff) |
fixes #910 (jabber group chats closed by pressing ESC-key)
-rw-r--r-- | plugins/TabSRMM/src/chat_window.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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; |