FIX: enable yes/no to all button

Jira: XXXX

Change-Id: I34bdefd1a14a24de7973e23f8d92cb3da296d017
This commit is contained in:
maosheng.wei 2023-10-31 10:10:50 +08:00 committed by Lane.Wei
parent 49ffea9f1a
commit 44d61cd0a6
1 changed files with 1 additions and 1 deletions

View File

@ -767,7 +767,7 @@ bool PresetBundle::import_json_presets(PresetsConfigSubstitutions & s
BOOST_LOG_TRIVIAL(warning) << __FUNCTION__ << " Preset already present and is system preset, not loading: " << name; BOOST_LOG_TRIVIAL(warning) << __FUNCTION__ << " Preset already present and is system preset, not loading: " << name;
return false; return false;
} }
overwrite = override_confirm(name); if (overwrite != 2 && overwrite != 3) overwrite = override_confirm(name); //3: yes to all 2: no to all
} }
if (overwrite == 0 || overwrite == 2) { if (overwrite == 0 || overwrite == 2) {
BOOST_LOG_TRIVIAL(warning) << __FUNCTION__ << " Preset already present, not loading: " << name; BOOST_LOG_TRIVIAL(warning) << __FUNCTION__ << " Preset already present, not loading: " << name;