Browse Source

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

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
b80843c602
  1. 2
      src/transferlistwidget.cpp

2
src/transferlistwidget.cpp

@ -1074,6 +1074,8 @@ void TransferListWidget::currentChanged(const QModelIndex& current, const QModel @@ -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);
}

Loading…
Cancel
Save