diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index d18ea2c180..bd38accdbd 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -684,6 +684,9 @@ void TransactionView::focusTransaction(const QModelIndex &idx) // sizes as the tables width is proportional to the dialogs width. void TransactionView::resizeEvent(QResizeEvent* event) { + if(!transactionView || !transactionView->selectionModel()) + return; + QWidget::resizeEvent(event); disconnect(transactionView->horizontalHeader(), SIGNAL(sectionResized(int,int,int)), this, SLOT(updateHeaderSizes(int,int,int))); columnResizingFixer->stretchColumnWidth(TransactionTableModel::ToAddress);