Skip to content

Commit

Permalink
Cleanup leftover rubberband
Browse files Browse the repository at this point in the history
  • Loading branch information
uclaros authored and nyalldawson committed May 21, 2020
1 parent d4a6ef0 commit 621d607
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/qgsmaptoolselectionhandler.cpp
Expand Up @@ -220,10 +220,9 @@ void QgsMapToolSelectionHandler::selectFeaturesReleaseEvent( QgsMapMouseEvent *e
}

if ( mSelectionRubberBand && mSelectionActive )
{
setSelectedGeometry( mSelectionRubberBand->asGeometry(), e->modifiers() );
if ( mSelectionRubberBand )
mSelectionRubberBand.reset();
}

mSelectionActive = false;
}
Expand Down

0 comments on commit 621d607

Please sign in to comment.