Skip to content
Permalink
Browse files

Hide excepted layers even if all types of layers are allowed.

  • Loading branch information
SebDieBln committed Jan 19, 2016
1 parent 17528d6 commit 5e5f95b75a199490302153411cded2765c230938
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmaplayerproxymodel.cpp
@@ -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 );

0 comments on commit 5e5f95b

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