diff options
author | George Hazan <ghazan@miranda.im> | 2020-02-20 22:47:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-02-20 22:47:49 +0300 |
commit | 935ea869e2a565a6b4a4c759966e516cadeeda96 (patch) | |
tree | 64f9a1241f357291a572ec13f25b6940c3b4bc57 /plugins/TabSRMM | |
parent | dd6ac172c4f814fa4b5ace6caca80d00d7e01ac8 (diff) |
fixes #2197 (IRC: Update broke input box shortcuts & Tab key)
hopefully it fixes that trash forever
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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))
|