Skip to content

Commit

Permalink
Fix for #11232 - "Rename preset" does not support Cyrillic.
Browse files Browse the repository at this point in the history
  • Loading branch information
YuSanka committed Sep 4, 2023
1 parent b44196a commit 5d90781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slic3r/GUI/Tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4167,7 +4167,7 @@ void Tab::rename_preset()
if (dlg.ShowModal() != wxID_OK)
return;

const std::string new_name = into_u8(dlg.get_name());
const std::string new_name = dlg.get_name();
if (new_name.empty() || new_name == m_presets->get_selected_preset().name)
return;

Expand Down

0 comments on commit 5d90781

Please sign in to comment.