From 43c85771ebfe2dae7d590213775c8a8d9e327644 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Fri, 12 Nov 2021 23:25:44 -0500 Subject: [PATCH] Fix paste into Scintilla fields on macOS Fixes https://gitlab.com/kicad/code/kicad/-/issues/9473 --- common/scintilla_tricks.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/scintilla_tricks.cpp b/common/scintilla_tricks.cpp index 8b976b1ba7..f5b8ab45cd 100644 --- a/common/scintilla_tricks.cpp +++ b/common/scintilla_tricks.cpp @@ -213,7 +213,8 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent ) if( wxTheClipboard->Open() ) { - if( wxTheClipboard->IsSupported( wxDF_TEXT ) ) + if( wxTheClipboard->IsSupported( wxDF_TEXT ) || + wxTheClipboard->IsSupported( wxDF_UNICODETEXT ) ) { wxTextDataObject data; wxString str;