mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-15 08:01:05 +08:00
parent
ac97ed685f
commit
98bdfcef65
@ -1178,8 +1178,8 @@ void TransferListWidget::currentChanged(const QModelIndex ¤t, const QModel
|
||||
if (current.isValid())
|
||||
{
|
||||
torrent = m_listModel->torrentHandle(mapToSource(current));
|
||||
// Scroll Fix
|
||||
scrollTo(current);
|
||||
// Fix scrolling to the lowermost visible torrent
|
||||
QMetaObject::invokeMethod(this, [this, current] { scrollTo(current); }, Qt::QueuedConnection);
|
||||
}
|
||||
emit currentTorrentChanged(torrent);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user