Skip to content

Commit

Permalink
Change the wrongly used firstModelIdx instead of modelIdx
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Sep 9, 2020
1 parent 3f67897 commit 018ca92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/attributetable/qgsfeaturelistview.cpp
Expand Up @@ -199,7 +199,7 @@ void QgsFeatureListView::setEditSelection( const QgsFeatureIds &fids )
if ( ! firstModelIdx.isValid() )
firstModelIdx = modelIdx;

selection.append( QItemSelectionRange( mModel->mapToMaster( firstModelIdx ) ) );
selection.append( QItemSelectionRange( mModel->mapToMaster( modelIdx ) ) );
}

bool ok = true;
Expand Down

0 comments on commit 018ca92

Please sign in to comment.