Browse Source

Merge pull request #8 from celil-kj/master

fix error when cancelling export
0.8
Wladimir J. van der Laan 14 years ago
parent
commit
f8be324ace
  1. 2
      src/qt/addressbookpage.cpp
  2. 2
      src/qt/transactionview.cpp

2
src/qt/addressbookpage.cpp

@ -187,6 +187,8 @@ void AddressBookPage::exportClicked() @@ -187,6 +187,8 @@ void AddressBookPage::exportClicked()
QDir::currentPath(),
tr("Comma separated file (*.csv)"));
if (filename.isNull()) return;
CSVModelWriter writer(filename);
// name, column, role

2
src/qt/transactionview.cpp

@ -242,6 +242,8 @@ void TransactionView::exportClicked() @@ -242,6 +242,8 @@ void TransactionView::exportClicked()
QDir::currentPath(),
tr("Comma separated file (*.csv)"));
if (filename.isNull()) return;
CSVModelWriter writer(filename);
// name, column, role

Loading…
Cancel
Save