Export Images: fixed images still saved when cancelling the dialog

This commit is contained in:
matlabbe
2016-10-25 14:54:02 -04:00
parent 49cb35175f
commit 063e019653
3 changed files with 54 additions and 54 deletions
+1 -1
View File
@@ -1003,7 +1003,7 @@ void DatabaseViewer::extractImages()
}
QString path = QFileDialog::getExistingDirectory(this, tr("Select directory where to save images..."), QDir::homePath());
if(!path.isNull())
if(!path.isEmpty())
{
if(ids_.size())
{