mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Optimize tracker insertion in TrackerFiltersList
This commit is contained in:
parent
cd9ed1706d
commit
25be00931a
@ -378,7 +378,7 @@ void TrackerFiltersList::addItem(const QString &tracker, const BitTorrent::Torre
|
||||
trackerItem->setText(QString::fromLatin1("%1 (%2)").arg(host, QString::number(torrentIDs.size())));
|
||||
if (exists)
|
||||
{
|
||||
if (currentRow() == rowFromTracker(host))
|
||||
if (trackerFromRow(currentRow()) == host)
|
||||
applyFilter(currentRow());
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user