mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 16:29:44 -05:00
Do not add duplicate entries
This commit is contained in:
parent
f227a2d529
commit
8dba308d54
@ -610,7 +610,9 @@ BrowserService::searchEntries(const QSharedPointer<Database>& db, const QString&
|
||||
|
||||
// Search for additional URL's starting with KP2A_URL
|
||||
for (const auto& key : entry->attributes()->keys()) {
|
||||
if (key.startsWith(ADDITIONAL_URL) && handleURL(entry->attributes()->value(key), url, submitUrl)) {
|
||||
if (key.startsWith(ADDITIONAL_URL) &&
|
||||
handleURL(entry->attributes()->value(key), url, submitUrl) &&
|
||||
!entries.contains(entry)) {
|
||||
entries.append(entry);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user