1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-21 09:44:26 +00:00

Simplification of

1.40.1-rc2 fails to save the modified AMF settings #1035
This commit is contained in:
bubnikv
2018-07-17 10:41:17 +02:00
parent 161a2bc6f8
commit c34a713c8c
3 changed files with 9 additions and 13 deletions
+3
View File
@@ -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;
}