- Scroll to current torrent when it changes (Transfer list)

This commit is contained in:
Christophe Dumez 2009-11-25 18:20:42 +00:00
parent 9fa0ff78bc
commit b80843c602

View file

@ -1074,6 +1074,8 @@ void TransferListWidget::currentChanged(const QModelIndex& current, const QModel
if(current.isValid()) {
int row = proxyModel->mapToSource(current).row();
h = BTSession->getTorrentHandle(getHashFromRow(row));
// Scroll Fix
scrollTo(current);
}
emit currentTorrentChanged(h);
}