Skip to content

Commit 592064b

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/gui/qgsmaptoolidentify.cpp‎

Lines changed: 1 addition & 1 deletion
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)