Skip to content
Permalink
Browse files
Avoid row sorts during attribute editing in AttributeTable Fix #15976
  • Loading branch information
luipir authored and m-kuhn committed May 23, 2017
1 parent 2929f9d commit f1383e240ae538284fbf505e4a25a90775797524
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -248,9 +248,8 @@ void QgsAttributeTableModel::updatedFields()

void QgsAttributeTableModel::editCommandEnded()
{
reload( createIndex( mChangedCellBounds.top(), mChangedCellBounds.left() ),
createIndex( mChangedCellBounds.bottom(), mChangedCellBounds.right() ) );

// do not do releoad(...) due would trigger (dataChanged) row sort
// giving issue: https://issues.qgis.org/issues/15976
mChangedCellBounds = QRect();
}

0 comments on commit f1383e2

Please sign in to comment.