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 )
105
105
if ( QgsFeatureListViewDelegate::EditElement == mItemDelegate ->positionToElement ( event->pos () ) )
106
106
{
107
107
mEditSelectionDrag = true ;
108
- mCurrentEditSelectionModel ->select ( index, QItemSelectionModel::ClearAndSelect );
108
+ mCurrentEditSelectionModel ->select ( mModel -> mapToMaster ( index ) , QItemSelectionModel::ClearAndSelect );
109
109
}
110
110
else
111
111
{
@@ -181,7 +181,7 @@ void QgsFeatureListView::mouseMoveEvent( QMouseEvent *event )
181
181
182
182
if ( mEditSelectionDrag )
183
183
{
184
- mCurrentEditSelectionModel ->select ( index, QItemSelectionModel::ClearAndSelect );
184
+ mCurrentEditSelectionModel ->select ( mModel -> mapToMaster ( index ) , QItemSelectionModel::ClearAndSelect );
185
185
}
186
186
else
187
187
{
You can’t perform that action at this time.
0 commit comments