Skip to content
Permalink
Browse files
Fix failing test
  • Loading branch information
nyalldawson committed May 2, 2017
1 parent c575c4a commit e1cff82a44faf1f0663cbd13e2aa62c45898c5d5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/processing/qgsprocessingutils.cpp
@@ -111,7 +111,7 @@ QgsMapLayer *QgsProcessingUtils::mapLayerFromProject( const QString &string, Qgs

QgsMapLayer *QgsProcessingUtils::mapLayerFromStore( const QString &string, QgsMapLayerStore *store )
{
if ( string.isEmpty() )
if ( !store || string.isEmpty() )
return nullptr;

QList< QgsMapLayer * > layers = store->mapLayers().values();

0 comments on commit e1cff82

Please sign in to comment.