Skip to content

Commit

Permalink
Followup 50ecff6
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson authored and github-actions[bot] committed Mar 2, 2021
1 parent da9a255 commit 380c937
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -7643,8 +7643,9 @@ bool QgisApp::openLayer( const QString &fileName, bool allowInteractive )
ok = static_cast< bool >( addMeshLayerPrivate( fileName, fileInfo.completeBaseName(), QStringLiteral( "mdal" ), false ) );
}

// maybe a known file type, which couldn't be opened due to a missing dependency... (eg. las for a non-pdal-enabled build)
if ( !ok )
{
// maybe a known file type, which couldn't be opened due to a missing dependency... (eg. las for a non-pdal-enabled build)
QgsProviderRegistry::UnusableUriDetails details;
if ( QgsProviderRegistry::instance()->handleUnusableUri( fileName, details ) )
{
Expand Down

0 comments on commit 380c937

Please sign in to comment.