Permalink
Browse files

Merge #8256: BUG: bitcoin-qt crash

d7828ab check that transactionView->selectionModel()->selectedRows(0) exists (fsb4000)
  • Loading branch information...
laanwj committed Jun 24, 2016
2 parents 5cd35d3 + d7828ab commit af2421c291c42fd0119bf27261fdeeba93cadbcc
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/qt/transactionview.cpp
@@ -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;

0 comments on commit af2421c

Please sign in to comment.