mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-06 13:34:16 -04: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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// refresh fileinfo since the file didn't exist before
|
||||||
|
fileInfo.refresh();
|
||||||
|
|
||||||
dbStruct.modified = false;
|
dbStruct.modified = false;
|
||||||
dbStruct.saveToFilename = true;
|
dbStruct.saveToFilename = true;
|
||||||
dbStruct.readOnly = false;
|
dbStruct.readOnly = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue