Skip to content
Permalink
Browse files

Always run import task when at least one layer is valid

  • Loading branch information
elpaso committed Sep 19, 2017
1 parent 9c67560 commit 3fc2a49a9b5d2c0d36d40bd92ec2739077408e12
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsgeopackagedataitems.cpp
@@ -328,7 +328,7 @@ bool QgsGeoPackageConnectionItem::handleDrop( const QMimeData *data, Qt::DropAct
output->setMessage( tr( "Failed to import some layers!\n\n" ) + importResults.join( QStringLiteral( "\n" ) ), QgsMessageOutput::MessageText );
output->showMessage();
}
else if ( ! importTasks.isEmpty() )
if ( ! importTasks.isEmpty() )
{
QgsApplication::taskManager()->addTask( mainTask.release() );
}

0 comments on commit 3fc2a49

Please sign in to comment.
You can’t perform that action at this time.