Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Commit

Permalink
Fix issue that "Per-glyph" option not working when UI is in Chinese (S…
Browse files Browse the repository at this point in the history
  • Loading branch information
Noisyfox authored Jan 2, 2024
1 parent 9e443ba commit 712478c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2484,7 +2484,7 @@ bool GLGizmoEmboss::rev_checkbox(const std::string &name,
// draw offseted input
auto draw_offseted_input = [this, &offset = m_gui_cfg->advanced_input_offset, &name, &value](){
ImGui::SameLine(offset);
return m_imgui->bbl_checkbox(("##" + name).c_str(), value);
return m_imgui->bbl_checkbox(wxString::FromUTF8("##" + name), value);
};
float undo_offset = ImGui::GetStyle().WindowPadding.x;
return revertible(name, value, default_value, undo_tooltip,
Expand Down

0 comments on commit 712478c

Please sign in to comment.