mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-07 06:27:39 +03:00
Update last databases on open and save as.
This commit is contained in:
parent
d2fc4e8abd
commit
9ae6d2cd05
1 changed files with 2 additions and 1 deletions
|
@ -113,6 +113,8 @@ void DatabaseTabWidget::openDatabase(const QString& fileName, const QString& pw,
|
|||
|
||||
insertDatabase(db, dbStruct);
|
||||
|
||||
updateLastDatabases(dbStruct.fileName);
|
||||
|
||||
if (!pw.isNull() || !keyFile.isEmpty()) {
|
||||
dbStruct.dbWidget->switchToOpenDatabase(dbStruct.file, dbStruct.fileName, pw, keyFile);
|
||||
}
|
||||
|
@ -230,7 +232,6 @@ void DatabaseTabWidget::saveDatabase(Database* db)
|
|||
|
||||
dbStruct.modified = false;
|
||||
updateTabName(db);
|
||||
updateLastDatabases(dbStruct.fileName);
|
||||
}
|
||||
else {
|
||||
saveDatabaseAs(db);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue