mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04: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
|
// Search for additional URL's starting with KP2A_URL
|
||||||
for (const auto& key : entry->attributes()->keys()) {
|
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);
|
entries.append(entry);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user