From 71e15ad9a025332242f144286ec962f26146117e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 28 Apr 2025 18:33:58 +0300 Subject: fixes #4992 completely --- plugins/Scriver/src/input.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins') 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; } -- cgit v1.2.3