| 562 | } |
| 563 | |
| 564 | void TransactionView::focusTransaction(const QModelIndex &idx) |
| 565 | { |
| 566 | if(!transactionProxyModel) |
| 567 | return; |
| 568 | QModelIndex targetIdx = transactionProxyModel->mapFromSource(idx); |
| 569 | transactionView->scrollTo(targetIdx); |
| 570 | transactionView->setCurrentIndex(targetIdx); |
| 571 | transactionView->setFocus(); |
| 572 | } |
| 573 | |
| 574 | void TransactionView::focusTransaction(const Txid& txid) |
| 575 | { |
nothing calls this directly
no test coverage detected