mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: [STUDIO-2150] export config not work
Change-Id: I05915a9dc5e767273e09ecdebaf5a679435c080f
This commit is contained in:
parent
2bb8875e30
commit
c945c47383
1 changed files with 1 additions and 0 deletions
|
@ -3507,6 +3507,7 @@ std::vector<std::string> PresetBundle::export_current_configs(const std::string
|
||||||
if ((preset->is_system && !export_system_settings) || preset->is_default)
|
if ((preset->is_system && !export_system_settings) || preset->is_default)
|
||||||
continue;
|
continue;
|
||||||
std::string file = path + "/" + preset->name + ".json";
|
std::string file = path + "/" + preset->name + ".json";
|
||||||
|
if (overwrite == 0) overwrite = 1;
|
||||||
if (boost::filesystem::exists(file) && overwrite < 2) {
|
if (boost::filesystem::exists(file) && overwrite < 2) {
|
||||||
overwrite = override_confirm(preset->name);
|
overwrite = override_confirm(preset->name);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue