Skip to content
Permalink
Browse files
[attrtable] Don't update sort column cache when unaffected
Fix #9424
  • Loading branch information
m-kuhn committed Jan 29, 2014
1 parent bc757ff commit 5f1c8f4980e2c6e78a4a49a3994a46e0da2dc059
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -201,7 +201,8 @@ void QgsAttributeTableModel::attributeValueChanged( QgsFeatureId fid, int idx, c
}
else
{
mFieldCache[ fid ] = value;
if ( idx == mCachedField )
mFieldCache[ fid ] = value;
// Update representation
setData( index( idToRow( fid ), fieldCol( idx ) ), value, Qt::EditRole );
}

0 comments on commit 5f1c8f4

Please sign in to comment.