Skip to content

Commit

Permalink
Don't query list of visible features when showing selected features
Browse files Browse the repository at this point in the history
On behalf of Faunalia, sponsored by ENEL

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

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

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

0 comments on commit 31c1be1

Please sign in to comment.