Skip to content

Commit d918c43

Browse files
authored
Fix Trackerless row is removed when it becomes zero
PR #23571.
1 parent c45dfb6 commit d918c43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/transferlistfilters/trackersfilterwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ void TrackersFilterWidget::decreaseTorrentsCount(const QString &trackerHost)
300300

301301
--trackerData.torrentsCount;
302302

303-
if (trackerData.torrentsCount == 0)
303+
if ((trackerData.torrentsCount == 0) && (trackerHost != NULL_HOST))
304304
{
305305
if (currentItem() == trackerData.item)
306306
setCurrentRow(0, QItemSelectionModel::SelectCurrent);

0 commit comments

Comments
 (0)