mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 06:26:06 +08:00
Fix for #11232 - "Rename preset" does not support Cyrillic.
This commit is contained in:
parent
b44196a885
commit
5d9078138c
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user