mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-04 21:17:43 +03:00
Minor changes to address comments
This commit is contained in:
parent
3db9a86a4c
commit
6a4b275d40
4 changed files with 7 additions and 10 deletions
|
@ -325,7 +325,7 @@ bool DatabaseTabWidget::saveDatabase(Database* db, QString filePath)
|
|||
|
||||
dbStruct.dbWidget->blockAutoReload(true);
|
||||
// TODO: Make this async, but lock out the database widget to prevent re-entrance
|
||||
bool useAtomicSaves = config()->get("UseAtomicSaves").toBool();
|
||||
bool useAtomicSaves = config()->get("UseAtomicSaves", true).toBool();
|
||||
QString errorMessage = db->saveToFile(filePath, useAtomicSaves, config()->get("BackupBeforeSave").toBool());
|
||||
dbStruct.dbWidget->blockAutoReload(false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue