Fix paste into Scintilla fields on macOS
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9473
This commit is contained in:
parent
921105330a
commit
43c85771eb
|
@ -213,7 +213,8 @@ void SCINTILLA_TRICKS::onCharHook( wxKeyEvent& aEvent )
|
||||||
|
|
||||||
if( wxTheClipboard->Open() )
|
if( wxTheClipboard->Open() )
|
||||||
{
|
{
|
||||||
if( wxTheClipboard->IsSupported( wxDF_TEXT ) )
|
if( wxTheClipboard->IsSupported( wxDF_TEXT ) ||
|
||||||
|
wxTheClipboard->IsSupported( wxDF_UNICODETEXT ) )
|
||||||
{
|
{
|
||||||
wxTextDataObject data;
|
wxTextDataObject data;
|
||||||
wxString str;
|
wxString str;
|
||||||
|
|
Loading…
Reference in New Issue