Browse Source

Merge #8256: BUG: bitcoin-qt crash

d7828ab check that transactionView->selectionModel()->selectedRows(0) exists (fsb4000)
0.13
Wladimir J. van der Laan 9 years ago
parent
commit
af2421c291
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/qt/transactionview.cpp

2
src/qt/transactionview.cpp

@ -365,6 +365,8 @@ void TransactionView::contextualMenu(const QPoint &point) @@ -365,6 +365,8 @@ void TransactionView::contextualMenu(const QPoint &point)
{
QModelIndex index = transactionView->indexAt(point);
QModelIndexList selection = transactionView->selectionModel()->selectedRows(0);
if (selection.empty())
return;
// check if transaction can be abandoned, disable context menu action in case it doesn't
uint256 hash;

Loading…
Cancel
Save