From 20f56dc25b5f789495ad70f64fa0246081cf5243 Mon Sep 17 00:00:00 2001 From: Frederic Devernay Date: Sat, 10 Jul 2021 19:24:04 -0700 Subject: [PATCH] Settings: do not save settings if a CLI arg instructed to use defaults --- Engine/Settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/Settings.cpp b/Engine/Settings.cpp index e147386ba0..2af9dd6cf6 100644 --- a/Engine/Settings.cpp +++ b/Engine/Settings.cpp @@ -2119,7 +2119,7 @@ Settings::restoreSettings(bool useDefault) try { _settingsExisted = _natronSettingsExist->getValue(); - if (!_settingsExisted) { + if (!_settingsExisted && !useDefault) { _natronSettingsExist->setValue(true); saveSetting( _natronSettingsExist.get() ); }