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
  • Loading branch information
nyalldawson committed Nov 15, 2016
1 parent b0801f3 commit 5346023
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/gui/attributetable/qgsattributetablefiltermodel.cpp
Expand Up @@ -294,11 +294,6 @@ void QgsAttributeTableFilterModel::setFilterMode( FilterMode filterMode )
disconnect( mCanvas, SIGNAL( extentsChanged() ), this, SLOT( extentsChanged() ) );
}

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

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

0 comments on commit 5346023

Please sign in to comment.