Skip to content

Commit

Permalink
Don't block creation of new geopackages in vector save as dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 9, 2020
1 parent adf0fe3 commit 8ccd127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/ogr/qgsvectorlayersaveasdialog.cpp
Expand Up @@ -357,7 +357,7 @@ void QgsVectorLayerSaveAsDialog::accept()
}
}
}
else if ( mActionOnExistingFile == QgsVectorFileWriter::CreateOrOverwriteFile )
else if ( mActionOnExistingFile == QgsVectorFileWriter::CreateOrOverwriteFile && QFile::exists( filename() ) )
{
try
{
Expand Down

0 comments on commit 8ccd127

Please sign in to comment.