mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 20:15:52 +08:00
Measure: Fix copy to clipboard encoding
This commit is contained in:
parent
1bfd9f63b6
commit
ce2836a7f9
@ -1916,7 +1916,7 @@ void GLGizmoMeasure::on_render_input_window(float x, float y, float bottom_limit
|
||||
ImGui::TableSetColumnIndex(2);
|
||||
if (m_imgui->image_button(m_is_dark_mode ? ImGui::ClipboardBtnDarkIcon : ImGui::ClipboardBtnIcon, _L("Copy to clipboard"))) {
|
||||
wxTheClipboard->Open();
|
||||
wxTheClipboard->SetData(new wxTextDataObject(col_1 + ": " + col_2));
|
||||
wxTheClipboard->SetData(new wxTextDataObject(wxString((col_1 + ": " + col_2).c_str(), wxConvUTF8)));
|
||||
wxTheClipboard->Close();
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user