mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Update last databases on open and save as.
This commit is contained in:
parent
d2fc4e8abd
commit
9ae6d2cd05
@ -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…
Reference in New Issue
Block a user