Skip to content
Permalink
Browse files

Don't query list of visible features when showing selected features

On behalf of Faunalia, sponsored by ENEL

(cherry-picked from 5346023)
  • Loading branch information
nyalldawson committed Nov 23, 2016
1 parent ec52e69 commit 31c1be1973591d61c405c8500be8bdc347dce2e2
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/gui/attributetable/qgsattributetablefiltermodel.cpp
@@ -292,11 +292,6 @@ void QgsAttributeTableFilterModel::setFilterMode( FilterMode filterMode )
disconnect( mCanvas, SIGNAL( extentsChanged() ), this, SLOT( extentsChanged() ) );
}

if ( filterMode == ShowSelected )
{
generateListOfVisibleFeatures();
}

mFilterMode = filterMode;
invalidateFilter();
}
@@ -350,7 +345,6 @@ void QgsAttributeTableFilterModel::selectionChanged()
{
if ( ShowSelected == mFilterMode )
{
generateListOfVisibleFeatures();
invalidateFilter();
}
else if ( mSelectedOnTop )

0 comments on commit 31c1be1

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