Skip to content
Permalink
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 with 2 additions and 0 deletions.
  1. +2 −0 src/gui/qgsmaptoolcapture.cpp
@@ -51,6 +51,8 @@ QgsMapToolCapture::QgsMapToolCapture( QgsMapCanvas *canvas, QgsAdvancedDigitizin

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

currentLayerChanged( canvas->currentLayer() );
}

QgsMapToolCapture::~QgsMapToolCapture()

0 comments on commit b6fbdec

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