Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[attrtable] Don't update sort column cache when unaffected
Fix #9424
  • Loading branch information
m-kuhn committed Jan 29, 2014
1 parent bc757ff commit 5f1c8f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/attributetable/qgsattributetablemodel.cpp
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 5f1c8f4

Please sign in to comment.