mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-20 14:08:20 +00:00
Measure: Fix copy to clipboard encoding
This commit is contained in:
1 parent
1bfd9f63b6
commit
ce2836a7f9
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user