Skip to content
Browse files
Initialize capture mode from layer
When the captureMode is set to CaptureNone, it should be initialized from the layer on create and not only on the first layer change.
  • Loading branch information
m-kuhn committed Aug 24, 2018
1 parent 0b96fd9 commit b6fbdec739c273d70dc43b0ca4503e3e02595d30
Showing 1 changed file with 2 additions and 0 deletions.
@@ -51,6 +51,8 @@ QgsMapToolCapture::QgsMapToolCapture( QgsMapCanvas *canvas, QgsAdvancedDigitizin

connect( canvas, &QgsMapCanvas::currentLayerChanged,
this, &QgsMapToolCapture::currentLayerChanged );

currentLayerChanged( canvas->currentLayer() );


0 comments on commit b6fbdec

Please sign in to comment.