diff options
author | George Hazan <george.hazan@gmail.com> | 2024-11-24 19:15:00 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-11-24 19:15:00 +0300 |
commit | 9b03f7c0356c52d532cb224093c15dc6af3ecb9e (patch) | |
tree | 236585ee3470cc5f3cd8746237d3ac2e6ff01294 /plugins | |
parent | fa4a606703fe902f66547b75c1fdd3f744321d63 (diff) |
fixes #4791 (tabSRMM: fix for copy+paste issue)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 3d93d6d4a5..13aa569bbf 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1903,7 +1903,16 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) return TRUE;
}
- return CSuper::WndProc_Message(msg, wParam, lParam);
+ auto ret = CSuper::WndProc_Message(msg, wParam, lParam);
+
+ switch (msg) {
+ case EM_PASTESPECIAL:
+ case WM_PASTE:
+ if (m_bIsAutosizingInput)
+ SendMessage(m_message.GetHwnd(), EM_SETSEL, 0, 0);
+ }
+
+ return ret;
}
/////////////////////////////////////////////////////////////////////////////////////////
|