Skip to content
Permalink
Browse files

Cleanup leftover rubberband

(cherry picked from commit 621d607)
  • Loading branch information
uclaros authored and nyalldawson committed May 20, 2020
1 parent 73ea3d6 commit 3e68ae913e5c3baaa2b28c00dc4c599e7cf29eb6
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/app/qgsmaptoolselectionhandler.cpp
@@ -220,10 +220,9 @@ void QgsMapToolSelectionHandler::selectFeaturesReleaseEvent( QgsMapMouseEvent *e
}

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

mSelectionActive = false;
}

0 comments on commit 3e68ae9

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