File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ void QgsFeatureListView::mousePressEvent( QMouseEvent *event )
105105 if ( QgsFeatureListViewDelegate::EditElement == mItemDelegate ->positionToElement ( event->pos () ) )
106106 {
107107 mEditSelectionDrag = true ;
108- mCurrentEditSelectionModel ->select ( index, QItemSelectionModel::ClearAndSelect );
108+ mCurrentEditSelectionModel ->select ( mModel -> mapToMaster ( index ) , QItemSelectionModel::ClearAndSelect );
109109 }
110110 else
111111 {
@@ -181,7 +181,7 @@ void QgsFeatureListView::mouseMoveEvent( QMouseEvent *event )
181181
182182 if ( mEditSelectionDrag )
183183 {
184- mCurrentEditSelectionModel ->select ( index, QItemSelectionModel::ClearAndSelect );
184+ mCurrentEditSelectionModel ->select ( mModel -> mapToMaster ( index ) , QItemSelectionModel::ClearAndSelect );
185185 }
186186 else
187187 {
You can’t perform that action at this time.
0 commit comments