From 935ea869e2a565a6b4a4c759966e516cadeeda96 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 20 Feb 2020 22:47:49 +0300 Subject: fixes #2197 (IRC: Update broke input box shortcuts & Tab key) hopefully it fixes that trash forever --- plugins/TabSRMM/src/msgdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 262be602a3..95b8d4bcfa 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1975,11 +1975,11 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) RedrawWindow(m_message.GetHwnd(), nullptr, nullptr, RDW_INVALIDATE); if (!fCompleted && !PluginConfig.m_bAllowTab) { if ((GetSendButtonState(GetHwnd()) != PBS_DISABLED)) - SetFocus(m_btnOk.GetHwnd()); + SetFocus(m_message.GetHwnd()); else SetFocus(m_pLog->GetHwnd()); - return 0; } + return 0; } if (ProcessHotkeys(wParam, isShift, isCtrl, isAlt)) -- cgit v1.2.3