mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
FIX: imgui textinput cannot paste on macos
jira: STUDIO-5070、STUDIO-5365 Change-Id: Iea8f41e12744ecda0fbb95c1a8f2e014a7cdc384
This commit is contained in:
@@ -2506,7 +2506,7 @@ const char* ImGuiWrapper::clipboard_get(void* user_data)
|
|||||||
const char* res = "";
|
const char* res = "";
|
||||||
|
|
||||||
if (wxTheClipboard->Open()) {
|
if (wxTheClipboard->Open()) {
|
||||||
if (wxTheClipboard->IsSupported(wxDF_TEXT)) {
|
if (wxTheClipboard->IsSupported(wxDF_TEXT) || wxTheClipboard->IsSupported(wxDF_UNICODETEXT)) {
|
||||||
wxTextDataObject data;
|
wxTextDataObject data;
|
||||||
wxTheClipboard->GetData(data);
|
wxTheClipboard->GetData(data);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user