mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-23 21:14:42 +00:00
Merge pull request #8 from celil-kj/master
fix error when cancelling export
This commit is contained in:
commit
f8be324ace
@ -187,6 +187,8 @@ void AddressBookPage::exportClicked()
|
|||||||
QDir::currentPath(),
|
QDir::currentPath(),
|
||||||
tr("Comma separated file (*.csv)"));
|
tr("Comma separated file (*.csv)"));
|
||||||
|
|
||||||
|
if (filename.isNull()) return;
|
||||||
|
|
||||||
CSVModelWriter writer(filename);
|
CSVModelWriter writer(filename);
|
||||||
|
|
||||||
// name, column, role
|
// name, column, role
|
||||||
|
@ -242,6 +242,8 @@ void TransactionView::exportClicked()
|
|||||||
QDir::currentPath(),
|
QDir::currentPath(),
|
||||||
tr("Comma separated file (*.csv)"));
|
tr("Comma separated file (*.csv)"));
|
||||||
|
|
||||||
|
if (filename.isNull()) return;
|
||||||
|
|
||||||
CSVModelWriter writer(filename);
|
CSVModelWriter writer(filename);
|
||||||
|
|
||||||
// name, column, role
|
// name, column, role
|
||||||
|
Loading…
x
Reference in New Issue
Block a user