mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 21:47:38 +03:00
Refresh fileInfo after creating the file.
Fixes canonicalFilePath() returning an empty string.
This commit is contained in:
parent
9bb291235d
commit
595b1011dd
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue