diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-04-28 18:33:58 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-04-28 18:33:58 +0300 |
| commit | 71e15ad9a025332242f144286ec962f26146117e (patch) | |
| tree | 110bfa35dc96cdbac33ccf6c67de065e6316e606 | |
| parent | e29db0c3414f6da69d7e11505819346fed9267a3 (diff) | |
fixes #4992 completely
| -rw-r--r-- | plugins/Scriver/src/input.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Scriver/src/input.cpp b/plugins/Scriver/src/input.cpp index f18f0ef742..6e39cfb461 100644 --- a/plugins/Scriver/src/input.cpp +++ b/plugins/Scriver/src/input.cpp @@ -168,10 +168,8 @@ int CMsgDialog::InputAreaShortcuts(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP PostMessage(m_hwnd, WM_COMMAND, IDC_QUOTE, 0);
return FALSE;
case KB_PASTESEND:
- if (SendMessage(hwnd, EM_CANPASTE, 0, 0)) {
- SendMessage(hwnd, EM_PASTESPECIAL, CF_UNICODETEXT, 0);
- PostMessage(m_hwnd, WM_COMMAND, IDOK, 0);
- }
+ SendMessage(hwnd, EM_PASTESPECIAL, CF_UNICODETEXT, 0);
+ PostMessage(m_hwnd, WM_COMMAND, IDOK, 0);
return FALSE;
}
|
