mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-14 00:39:53 -05:00
Refresh fileInfo after creating the file.
Fixes canonicalFilePath() returning an empty string.
This commit is contained in:
parent
9bb291235d
commit
595b1011dd
@ -390,6 +390,9 @@ bool DatabaseTabWidget::saveDatabaseAs(Database* db)
|
||||
return false;
|
||||
}
|
||||
|
||||
// refresh fileinfo since the file didn't exist before
|
||||
fileInfo.refresh();
|
||||
|
||||
dbStruct.modified = false;
|
||||
dbStruct.saveToFilename = true;
|
||||
dbStruct.readOnly = false;
|
||||
|
Loading…
Reference in New Issue
Block a user