Fixed a crash when preset with "modified"suffix is selected
This commit is contained in:
parent
f1c24e6a8c
commit
3ec462e8f5
@ -176,7 +176,8 @@ void Tab::create_preset_tab()
|
|||||||
m_preset_bundle->physical_printers.unselect_printer();
|
m_preset_bundle->physical_printers.unselect_printer();
|
||||||
|
|
||||||
// select preset
|
// 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 New Issue
Block a user