mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Fixed a crash when preset with "modified"suffix is selected
This commit is contained in:
1 parent
f1c24e6a8c
commit
3ec462e8f5
1 file changed
+2
-1
@@ -176,7 +176,8 @@ void Tab::create_preset_tab()
|
||||
m_preset_bundle->physical_printers.unselect_printer();
|
||||
|
||||
// select preset
|
||||
select_preset(m_presets_choice->GetString(selection).ToUTF8().data());
|
||||
std::string preset_name = m_presets_choice->GetString(selection).ToUTF8().data();
|
||||
select_preset(Preset::remove_suffix_modified(preset_name));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user