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