Fixed a crash when preset with "modified"suffix is selected
This commit is contained in:
parent
f1c24e6a8c
commit
3ec462e8f5
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue