Skip to content
Permalink
Browse files

Also show features with modified geometry when "show edited and new

features" filter is active in attribute dialog (fix #11684)
  • Loading branch information
nyalldawson committed Oct 14, 2015
1 parent 9fe1b65 commit e92e91060140e80c22a61406d640054fa4585a52
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/attributetable/qgsattributetablefiltermodel.cpp
@@ -189,8 +189,9 @@ bool QgsAttributeTableFilterModel::filterAcceptsRow( int sourceRow, const QModel
{
const QList<QgsFeatureId> addedFeatures = editBuffer->addedFeatures().keys();
const QList<QgsFeatureId> changedFeatures = editBuffer->changedAttributeValues().keys();
const QList<QgsFeatureId> changedGeometries = editBuffer->changedGeometries().keys();
const QgsFeatureId fid = masterModel()->rowToId( sourceRow );
return addedFeatures.contains( fid ) || changedFeatures.contains( fid );
return addedFeatures.contains( fid ) || changedFeatures.contains( fid ) || changedGeometries.contains( fid );
}
return false;
}

0 comments on commit e92e910

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