diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index 84e796b97..cb37ca834 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -389,6 +389,10 @@ void TransactionView::changedAmount(const QString &amount) void TransactionView::exportClicked() { + if (!model || !model->getOptionsModel()) { + return; + } + // CSV is currently the only supported format QString filename = GUIUtil::getSaveFileName(this, tr("Export Transaction History"), QString(),