mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-20 21:27:52 -06:00
Simplification of
1.40.1-rc2 fails to save the modified AMF settings #1035
This commit is contained in:
parent
161a2bc6f8
commit
c34a713c8c
3 changed files with 9 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue