Skip to content

Commit 071ec82

Browse files
committed
identify: clear rubberband after deleting the items
1 parent bc7a551 commit 071ec82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gui/qgsmaptoolidentify.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ void QgsMapToolIdentify::deleteRubberBands()
666666
QList<QgsHighlight*>::const_iterator it = mRubberBands.constBegin();
667667
for ( ; it != mRubberBands.constEnd(); ++it )
668668
delete *it;
669+
mRubberBands.clear();
669670
}
670671

671672
void QgsMapToolIdentify::layerDestroyed()

0 commit comments

Comments
 (0)