mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-07 06:27:39 +03:00
parent
5bd525a6dd
commit
a862f62fe8
1 changed files with 3 additions and 0 deletions
|
@ -326,6 +326,9 @@ bool DatabaseTabWidget::saveDatabaseAs(Database* db)
|
||||||
if (dbStruct.saveToFilename) {
|
if (dbStruct.saveToFilename) {
|
||||||
oldFileName = dbStruct.filePath;
|
oldFileName = dbStruct.filePath;
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
oldFileName = tr("New database").append(".kdbx");
|
||||||
|
}
|
||||||
QString fileName = fileDialog()->getSaveFileName(this, tr("Save database as"),
|
QString fileName = fileDialog()->getSaveFileName(this, tr("Save database as"),
|
||||||
oldFileName, tr("KeePass 2 Database").append(" (*.kdbx)"));
|
oldFileName, tr("KeePass 2 Database").append(" (*.kdbx)"));
|
||||||
if (!fileName.isEmpty()) {
|
if (!fileName.isEmpty()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue