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...

This commit is contained in:
signedav 2023-03-03 14:44:26 +01:00
parent 830cfb4f48
commit e8460b989a

View File

@ -183,6 +183,7 @@ void QgsFeatureListView::editSelectionChanged( const QItemSelection &selected, c
viewport()->update( visualRegionForSelection( localDeselected ) | visualRegionForSelection( localSelected ) );
}
mLastEditSelectionFid = QgsFeatureId();
if ( !selected.isEmpty() )
{
const QModelIndexList indexList = selected.indexes();