mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-03 02:22:46 +00:00
Simplification of
1.40.1-rc2 fails to save the modified AMF settings #1035
This commit is contained in:
@@ -505,6 +505,9 @@ Preset& PresetCollection::load_external_preset(
|
||||
// Insert a new profile.
|
||||
Preset &preset = this->load_preset(path, new_name, std::move(cfg), select);
|
||||
preset.is_external = true;
|
||||
if (&this->get_selected_preset() == &preset)
|
||||
this->get_edited_preset().is_external = true;
|
||||
|
||||
return preset;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user