Skip to content

Commit 592064b

Browse files
committed
identify tool: fix connection error
1 parent bdf857a commit 592064b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsmaptoolidentify.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ void QgsMapToolIdentify::handleMenuHover()
684684
hl->setColor( QColor( 255, 0, 0 ) );
685685
hl->setWidth( 2 );
686686
mRubberBands.append( hl );
687-
connect( vl, SIGNAL( destroyed() ), this, SLOT( layerDestroyed() ) );
687+
connect( lIt.key(), SIGNAL( destroyed() ), this, SLOT( layerDestroyed() ) );
688688
}
689689
}
690690
}

0 commit comments

Comments
 (0)