summaryrefslogtreecommitdiffstats
path: root/application/dialogs/ExportInstanceDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/dialogs/ExportInstanceDialog.cpp')
-rw-r--r--application/dialogs/ExportInstanceDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/dialogs/ExportInstanceDialog.cpp b/application/dialogs/ExportInstanceDialog.cpp
index caa15c48..7f3fd937 100644
--- a/application/dialogs/ExportInstanceDialog.cpp
+++ b/application/dialogs/ExportInstanceDialog.cpp
@@ -388,7 +388,7 @@ bool ExportInstanceDialog::doExport()
const QString output = QFileDialog::getSaveFileName(
this, tr("Export %1").arg(m_instance->name()),
FS::PathCombine(QDir::homePath(), name + ".zip"), "Zip (*.zip)", nullptr, QFileDialog::DontConfirmOverwrite);
- if (output.isNull())
+ if (output.isEmpty())
{
return false;
}