Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hide excepted layers even if all types of layers are allowed.
  • Loading branch information
SebDieBln committed Jan 19, 2016
1 parent 17528d6 commit 5e5f95b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmaplayerproxymodel.cpp
Expand Up @@ -46,7 +46,7 @@ void QgsMapLayerProxyModel::setExceptedLayerList( const QList<QgsMapLayer*>& exc

bool QgsMapLayerProxyModel::filterAcceptsRow( int source_row, const QModelIndex &source_parent ) const
{
if ( mFilters.testFlag( All ) )
if ( mFilters.testFlag( All ) && mExceptList.isEmpty() )
return true;

QModelIndex index = sourceModel()->index( source_row, 0, source_parent );
Expand Down

0 comments on commit 5e5f95b

Please sign in to comment.