mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-06-20 20:54:38 -04:00
Do not add duplicate entries
This commit is contained in:
parent
f227a2d529
commit
8dba308d54
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue