mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-18 03:20:24 +01:00
Merge pull request #8 from celil-kj/master
fix error when cancelling export
This commit is contained in:
@@ -187,6 +187,8 @@ void AddressBookPage::exportClicked()
|
||||
QDir::currentPath(),
|
||||
tr("Comma separated file (*.csv)"));
|
||||
|
||||
if (filename.isNull()) return;
|
||||
|
||||
CSVModelWriter writer(filename);
|
||||
|
||||
// name, column, role
|
||||
|
||||
@@ -242,6 +242,8 @@ void TransactionView::exportClicked()
|
||||
QDir::currentPath(),
|
||||
tr("Comma separated file (*.csv)"));
|
||||
|
||||
if (filename.isNull()) return;
|
||||
|
||||
CSVModelWriter writer(filename);
|
||||
|
||||
// name, column, role
|
||||
|
||||
Reference in New Issue
Block a user