summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-07 19:06:30 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-07 19:06:30 +0300
commit9c43c41d39d35be08d01223f8b879ebb3d8ac574 (patch)
tree0a296a803602be10df3e34f69a020fccb58b8c79 /plugins
parent3cdfa14f90f20351f210eb3d519660b46141a440 (diff)
fixes #4954 (tabSRMM: "Вставить и отправить" работает только для текста)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/TabSRMM/src/msgdlgother.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp
index 56cdf162d7..346c758369 100644
--- a/plugins/TabSRMM/src/msgdlgother.cpp
+++ b/plugins/TabSRMM/src/msgdlgother.cpp
@@ -992,7 +992,7 @@ void CMsgDialog::HandlePasteAndSend()
m_message.SendMsg(EM_PASTESPECIAL, CF_UNICODETEXT, 0);
if (GetWindowTextLength(m_message.GetHwnd()) > 0)
- SendMessage(m_hwnd, WM_COMMAND, IDOK, 0);
+ m_btnOk.Click();
}
/////////////////////////////////////////////////////////////////////////////////////////