Skip to content
Permalink
Browse files

refresh filteredFeatures on master model change (like add or delete f…

…eatures)
  • Loading branch information
signedav committed Mar 12, 2020
1 parent b510ad0 commit afbb37f9f3ae0aa25b760dede54436ef9acea326
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/attributetable/qgsfeaturefilterwidget.cpp
@@ -89,6 +89,7 @@ void QgsFeatureFilterWidget::init( QgsVectorLayer *layer, const QgsAttributeEdit

connect( mLayer, &QgsVectorLayer::attributeAdded, this, &QgsFeatureFilterWidget::columnBoxInit );
connect( mLayer, &QgsVectorLayer::attributeDeleted, this, &QgsFeatureFilterWidget::columnBoxInit );
connect( mMainView->masterModel(), &QgsAttributeTableModel::dataChanged, this, &QgsFeatureFilterWidget::filterQueryAccepted );

//set delay on entering text
mFilterQueryTimer.setSingleShot( true );

0 comments on commit afbb37f

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