Skip to content

Commit

Permalink
Settings: do not save settings if a CLI arg instructed to use defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Jul 11, 2021
1 parent 43d7930 commit 20f56dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Engine/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2119,7 +2119,7 @@ Settings::restoreSettings(bool useDefault)
try {
_settingsExisted = _natronSettingsExist->getValue();

if (!_settingsExisted) {
if (!_settingsExisted && !useDefault) {
_natronSettingsExist->setValue(true);
saveSetting( _natronSettingsExist.get() );
}
Expand Down

0 comments on commit 20f56dc

Please sign in to comment.