mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 07:49:50 -05:00
parent
7f2efd3193
commit
fd7daf4c89
@ -385,7 +385,6 @@ void ApplicationSettingsWidget::saveSettings()
|
||||
// Security: clear storage if related settings are disabled
|
||||
if (!config()->get(Config::RememberLastDatabases).toBool()) {
|
||||
config()->remove(Config::LastDatabases);
|
||||
config()->remove(Config::OpenPreviousDatabasesOnStartup);
|
||||
config()->remove(Config::LastActiveDatabase);
|
||||
config()->remove(Config::LastAttachmentDir);
|
||||
}
|
||||
@ -425,7 +424,6 @@ void ApplicationSettingsWidget::resetSettings()
|
||||
|
||||
// Clear recently used data
|
||||
config()->remove(Config::LastDatabases);
|
||||
config()->remove(Config::OpenPreviousDatabasesOnStartup);
|
||||
config()->remove(Config::LastActiveDatabase);
|
||||
config()->remove(Config::LastAttachmentDir);
|
||||
config()->remove(Config::LastKeyFiles);
|
||||
|
Loading…
Reference in New Issue
Block a user