mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
parent
ac97ed685f
commit
98bdfcef65
1 changed files with 2 additions and 2 deletions
|
@ -1178,8 +1178,8 @@ void TransferListWidget::currentChanged(const QModelIndex ¤t, const QModel
|
||||||
if (current.isValid())
|
if (current.isValid())
|
||||||
{
|
{
|
||||||
torrent = m_listModel->torrentHandle(mapToSource(current));
|
torrent = m_listModel->torrentHandle(mapToSource(current));
|
||||||
// Scroll Fix
|
// Fix scrolling to the lowermost visible torrent
|
||||||
scrollTo(current);
|
QMetaObject::invokeMethod(this, [this, current] { scrollTo(current); }, Qt::QueuedConnection);
|
||||||
}
|
}
|
||||||
emit currentTorrentChanged(torrent);
|
emit currentTorrentChanged(torrent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue