Skip to content

Commit

Permalink
Only filter by layer type: ignore provider key
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Nov 5, 2018
1 parent d995eeb commit adc3b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgslayertreeviewbadlayerindicator.cpp
Expand Up @@ -84,7 +84,7 @@ void QgsLayerTreeViewBadLayerIndicatorProvider::onIndicatorClicked( const QModel
if ( index.isValid() )
{
const QgsLayerItem *item = qobject_cast<QgsLayerItem *>( browserModel.dataItem( index ) );
if ( item && item->mapLayerType() == layerType && item->providerKey() == providerType )
if ( item && item->mapLayerType() == layerType )
{
return true;
}
Expand Down

0 comments on commit adc3b74

Please sign in to comment.