From 4a2cef86ce94901c4e696804140f92701a38ebce Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Nov 2024 21:50:28 +0300 Subject: rest of hardcoded hotkeys removed in StdMsg & Scriver --- plugins/Scriver/src/msgdialog.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'plugins') diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index e5ff6b545a..e424cf3d41 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -736,28 +736,6 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) replaceStrW(m_wszSearchQuery, nullptr); replaceStrW(m_wszSearchResult, nullptr); } - - if (wParam == 0x46 && isCtrl && !isAlt) { // ctrl-f (toggle filter) - m_btnFilter.Click(); - return TRUE; - } - - if (wParam == 0x4e && isCtrl && !isAlt) { // ctrl-n (nicklist) - if (m_btnNickList.Enabled()) - m_btnNickList.Click(); - return TRUE; - } - - if (wParam == 0x48 && isCtrl && !isAlt) { // ctrl-h (history) - m_btnHistory.Click(); - return TRUE; - } - - if (wParam == 0x4f && isCtrl && !isAlt) { // ctrl-o (options) - if (m_btnChannelMgr.Enabled()) - m_btnChannelMgr.Click(); - return TRUE; - } } if (ProcessHotkeys(wParam, isShift, isCtrl, isAlt)) -- cgit v1.2.3