mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-19 23:19:14 +08:00
FIX: imgui textinput cannot paste on macos
jira: STUDIO-5070、STUDIO-5365 Change-Id: Iea8f41e12744ecda0fbb95c1a8f2e014a7cdc384
This commit is contained in:
parent
5a581fcf16
commit
5011621ad8
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user