Skip to content
Permalink
Browse files

comment featureDeleted handled over selectionChanged

  • Loading branch information
signedav committed May 14, 2020
1 parent 042df3e commit fc8b3a156b9d8fddbc89c26db93aed63fca2b4b8
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/attributetable/qgsattributetablefiltermodel.cpp
@@ -322,6 +322,7 @@ void QgsAttributeTableFilterModel::setFilterMode( FilterMode filterMode )
{
connect( mCanvas, &QgsMapCanvas::extentsChanged, this, &QgsAttributeTableFilterModel::reloadVisible );
connect( layer(), &QgsVectorLayer::featureAdded, this, &QgsAttributeTableFilterModel::reloadVisible );
//featureDeleted is handled over selectionChanged
generateListOfVisibleFeatures();
}
else
@@ -333,6 +334,7 @@ void QgsAttributeTableFilterModel::setFilterMode( FilterMode filterMode )
if ( filterMode == ShowFilteredList )
{
connect( layer(), &QgsVectorLayer::featureAdded, this, &QgsAttributeTableFilterModel::filterFeatures );
//featureDeleted is handled over selectionChanged
}
else
{

0 comments on commit fc8b3a1

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