Merge pull request #8 from celil-kj/master

fix error when cancelling export
This commit is contained in:
Wladimir J. van der Laan 2011-07-15 01:30:54 -07:00
commit f8be324ace
2 changed files with 4 additions and 0 deletions

View file

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

View file

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