Skip to content

Commit ab1a4f4

Browse files
signedavgithub-actions[bot]
authored andcommittedMar 7, 2023
reset mLastEditSelectionFid for the case no fid can be emitted by the selection - shouldn't happen afaik, but just to be sure in this area...
1 parent a82a773 commit ab1a4f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/gui/attributetable/qgsfeaturelistview.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ void QgsFeatureListView::editSelectionChanged( const QItemSelection &selected, c
183183
viewport()->update( visualRegionForSelection( localDeselected ) | visualRegionForSelection( localSelected ) );
184184
}
185185

186+
mLastEditSelectionFid = QgsFeatureId();
186187
if ( !selected.isEmpty() )
187188
{
188189
const QModelIndexList indexList = selected.indexes();

0 commit comments

Comments
 (0)
Please sign in to comment.