diff options
author | George Hazan <george.hazan@gmail.com> | 2024-10-08 14:04:30 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-10-08 14:04:34 +0300 |
commit | 4de982c5f0a06e4a77b479b63b700f343a2ca80d (patch) | |
tree | 9848ca6801ec9ed5b1f6e71ef0887dd33b5baa57 /plugins/Scriver/src/msgdialog.cpp | |
parent | 11e5653ea7bb438ed6e38399702ca123eb684f4e (diff) |
fixes #4716 (Scriver: при открытии привата фокус больше не встаёт в поле ввода)
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 4e991a9477..f2e3f810b8 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -880,9 +880,8 @@ INT_PTR CMsgDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) if (LOWORD(wParam) != WA_ACTIVE)
break;
+ SetFocus(m_message.GetHwnd());
if (isChat()) {
- SetFocus(m_message.GetHwnd());
-
if (db_get_w(m_hContact, m_si->pszModule, "ApparentMode", 0) != 0)
db_set_w(m_hContact, m_si->pszModule, "ApparentMode", 0);
if (Clist_GetEvent(m_hContact, 0))
|