Skip to content
Permalink
Browse files

[bugfix] Attribute table model not updated when a feature is changed

  • Loading branch information
pblottiere committed Jun 25, 2017
1 parent 69af2f5 commit 5f22ba1c936db18f9326b84315be03b4874282e0
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -303,7 +303,8 @@ void QgsAttributeTableModel::attributeValueChanged( QgsFeatureId fid, int idx, c
// No filter request: skip all possibly heavy checks
if ( mFeatureRequest.filterType() == QgsFeatureRequest::FilterNone )
{
setData( index( idToRow( fid ), fieldCol( idx ) ), value, Qt::EditRole );
if ( loadFeatureAtId( fid ) )
setData( index( idToRow( fid ), fieldCol( idx ) ), value, Qt::EditRole );
}
else
{

1 comment on commit 5f22ba1

@luipir

This comment has been minimized.

Copy link
Contributor

@luipir luipir commented on 5f22ba1 Oct 19, 2017

have to be backported to 2.18 to fix https://issues.qgis.org/issues/17187

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