mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fixup saving non-data changes on database lock
* Fix #5107 * Change setting for non-data changes to Auto save on database lock (or not) instead of marking modified. * When enabled, database will be auto-saved if there are only non-data changes, but will not prompt the user if saving has failed. * When disabled, database will not auto-save if there are only non-data changes (same behavior as 2.5 and below) and will not mark the database dirty.
This commit is contained in:
@@ -37,7 +37,6 @@ void TestConfig::testUpgrade()
|
||||
Config::createConfigFromFile(tempFile.fileName());
|
||||
|
||||
// value of new setting should be opposite the value of deprecated setting
|
||||
QVERIFY(config()->get(Config::TrackNonDataChanges).toBool());
|
||||
QVERIFY(!config()->get(Config::Security_PasswordsRepeatVisible).toBool());
|
||||
QVERIFY(!config()->get(Config::Security_PasswordsHidden).toBool());
|
||||
QVERIFY(config()->get(Config::Security_PasswordEmptyPlaceholder).toBool());
|
||||
|
||||
Reference in New Issue
Block a user