Skip to content
Permalink
Browse files

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

On behalf of Faunalia, sponsored by ENEL
  • Loading branch information
nyalldawson committed Nov 15, 2016
1 parent b0801f3 commit 53460232bb8e5a4a7f536e16e8aad6400269ecfd
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/gui/attributetable/qgsattributetablefiltermodel.cpp
@@ -294,11 +294,6 @@ void QgsAttributeTableFilterModel::setFilterMode( FilterMode filterMode )
disconnect( mCanvas, SIGNAL( extentsChanged() ), this, SLOT( extentsChanged() ) );
}

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

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

0 comments on commit 5346023

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