|
|
@ -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); |
|
|
|
} |
|
|
|
} |
|
|
|