mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 08:49:42 -05:00
parent
5bd525a6dd
commit
a862f62fe8
@ -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…
Reference in New Issue
Block a user