aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactionview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/transactionview.cpp')
-rw-r--r--src/qt/transactionview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp
index 03df422605..8aa43395e7 100644
--- a/src/qt/transactionview.cpp
+++ b/src/qt/transactionview.cpp
@@ -242,6 +242,8 @@ void TransactionView::exportClicked()
QDir::currentPath(),
tr("Comma separated file (*.csv)"));
+ if (filename.isNull()) return;
+
CSVModelWriter writer(filename);
// name, column, role