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)
|
||||
continue;
|
||||
std::string file = path + "/" + preset->name + ".json";
|
||||
if (overwrite == 0) overwrite = 1;
|
||||
if (boost::filesystem::exists(file) && overwrite < 2) {
|
||||
overwrite = override_confirm(preset->name);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue