Skip to content
Permalink
Browse files

Fix feature edit selection in filtered feature list

  • Loading branch information
m-kuhn committed Apr 16, 2013
1 parent c000ded commit d3a7e04bd3c10a41e86dca3aa620ee4b311f9b4f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/attributetable/qgsfeaturelistview.cpp
@@ -105,7 +105,7 @@ void QgsFeatureListView::mousePressEvent( QMouseEvent *event )
if ( QgsFeatureListViewDelegate::EditElement == mItemDelegate->positionToElement( event->pos() ) )
{
mEditSelectionDrag = true;
mCurrentEditSelectionModel->select( index, QItemSelectionModel::ClearAndSelect );
mCurrentEditSelectionModel->select( mModel->mapToMaster( index ), QItemSelectionModel::ClearAndSelect );
}
else
{
@@ -181,7 +181,7 @@ void QgsFeatureListView::mouseMoveEvent( QMouseEvent *event )

if ( mEditSelectionDrag )
{
mCurrentEditSelectionModel->select( index, QItemSelectionModel::ClearAndSelect );
mCurrentEditSelectionModel->select( mModel->mapToMaster( index ), QItemSelectionModel::ClearAndSelect );
}
else
{

0 comments on commit d3a7e04

Please sign in to comment.
You can’t perform that action at this time.