[attrtable] Don't update sort column cache when unaffected

Fix #9424
This commit is contained in:
Matthias Kuhn 2014-01-29 22:32:00 +01:00
parent bc757ffe50
commit 5f1c8f4980

View File

@ -201,6 +201,7 @@ void QgsAttributeTableModel::attributeValueChanged( QgsFeatureId fid, int idx, c
}
else
{
if ( idx == mCachedField )
mFieldCache[ fid ] = value;
// Update representation
setData( index( idToRow( fid ), fieldCol( idx ) ), value, Qt::EditRole );