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 30, 2017
1 parent d1e8903 commit 6c84b6ea45e02ba71506fdbc6f5a24800c56b1dc
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -244,9 +244,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 6c84b6e

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