NOISSUE Do not ask to overwrite existing file twice when exporting instances
This commit is contained in:
parent
33b6222f9f
commit
fbec48080b
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,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)");
|
||||
FS::PathCombine(QDir::homePath(), name + ".zip"), "Zip (*.zip)", nullptr, QFileDialog::DontConfirmOverwrite);
|
||||
if (output.isNull())
|
||||
{
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue