diff --git a/qt/TorrentFilter.cc b/qt/TorrentFilter.cc index 6fa78541f..5238ac7f2 100644 --- a/qt/TorrentFilter.cc +++ b/qt/TorrentFilter.cc @@ -155,7 +155,7 @@ bool TorrentFilter::lessThan(QModelIndex const& left, QModelIndex const& right) // fall through case SortMode::SORT_BY_PROGRESS: - if (a->isMagnet() != b->isMagnet()) + if (val == 0) { val = -compare(a->isMagnet(), b->isMagnet()); }