Browse Source

Fix paste into Scintilla fields on macOS

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9473
6.0.7
Jon Evans 4 years ago
parent
commit
43c85771eb
  1. 3
      common/scintilla_tricks.cpp

3
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;

Loading…
Cancel
Save