mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-01 10:51:20 -05:00
Merge branch 'release/2.2.2' into develop
This commit is contained in:
commit
f634f20ccc
@ -18,8 +18,8 @@ KeePass Cross-platform Community Edition
|
|||||||
- Password strength meter
|
- Password strength meter
|
||||||
- Using website favicons as entry icons
|
- Using website favicons as entry icons
|
||||||
- Merging of databases
|
- Merging of databases
|
||||||
- Automatic reload when the database was changed externally
|
- Automatic reload when the database changed on disk
|
||||||
- KeePassHTTP support for use with [PassIFox](https://addons.mozilla.org/en-us/firefox/addon/passifox/) in Mozilla Firefox, [chromeIPass](https://chrome.google.com/webstore/detail/chromeipass/ompiailgknfdndiefoaoiligalphfdae) in Google Chrome or Chromium and [passafari](https://github.com/mmichaa/passafari.safariextension/) in Safari.
|
- KeePassHTTP support for use with KeePassHTTP-Connector for [Mozilla Firefox](https://addons.mozilla.org/en-US/firefox/addon/keepasshttp-connector/) and [Google Chrome or Chromium](https://chrome.google.com/webstore/detail/keepasshttp-connector/dafgdjggglmmknipkhngniifhplpcldb), and [passafari](https://github.com/mmichaa/passafari.safariextension/) in Safari.
|
||||||
- Many bug fixes
|
- Many bug fixes
|
||||||
|
|
||||||
For a full list of features and changes, read the [CHANGELOG](CHANGELOG) document.
|
For a full list of features and changes, read the [CHANGELOG](CHANGELOG) document.
|
||||||
|
@ -129,7 +129,12 @@ void DatabaseTabWidget::openDatabase(const QString& fileName, const QString& pw,
|
|||||||
while (i.hasNext()) {
|
while (i.hasNext()) {
|
||||||
i.next();
|
i.next();
|
||||||
if (i.value().canonicalFilePath == canonicalFilePath) {
|
if (i.value().canonicalFilePath == canonicalFilePath) {
|
||||||
|
if (!i.value().dbWidget->dbHasKey() && !(pw.isNull() && keyFile.isEmpty())) {
|
||||||
|
// If the database is locked and a pw or keyfile is provided, unlock it
|
||||||
|
i.value().dbWidget->switchToOpenDatabase(i.value().filePath, pw, keyFile);
|
||||||
|
} else {
|
||||||
setCurrentIndex(databaseIndex(i.key()));
|
setCurrentIndex(databaseIndex(i.key()));
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -204,7 +209,7 @@ void DatabaseTabWidget::openDatabase(const QString& fileName, const QString& pw,
|
|||||||
|
|
||||||
updateLastDatabases(dbStruct.filePath);
|
updateLastDatabases(dbStruct.filePath);
|
||||||
|
|
||||||
if (!pw.isNull() || !keyFile.isEmpty()) {
|
if (!(pw.isNull() && keyFile.isEmpty())) {
|
||||||
dbStruct.dbWidget->switchToOpenDatabase(dbStruct.filePath, pw, keyFile);
|
dbStruct.dbWidget->switchToOpenDatabase(dbStruct.filePath, pw, keyFile);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user