Skip to content

Commit f1383e2

Browse files
luipirm-kuhn
authored andcommittedMay 23, 2017
Avoid row sorts during attribute editing in AttributeTable Fix #15976
1 parent 2929f9d commit f1383e2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎src/gui/attributetable/qgsattributetablemodel.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,8 @@ void QgsAttributeTableModel::updatedFields()
248248

249249
void QgsAttributeTableModel::editCommandEnded()
250250
{
251-
reload( createIndex( mChangedCellBounds.top(), mChangedCellBounds.left() ),
252-
createIndex( mChangedCellBounds.bottom(), mChangedCellBounds.right() ) );
253-
251+
// do not do releoad(...) due would trigger (dataChanged) row sort
252+
// giving issue: https://issues.qgis.org/issues/15976
254253
mChangedCellBounds = QRect();
255254
}
256255

0 commit comments

Comments
 (0)
Please sign in to comment.