File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ void QgsAdvancedDigitizingDockWidget::mapToolChanged( QgsMapTool* tool )
235
235
mErrorLabel ->setText ( lblText );
236
236
mErrorLabel ->show ();
237
237
mCadWidget ->hide ();
238
- setMaximumSize ( 5000 , 70 );
238
+ setMaximumSize ( 5000 , 80 );
239
239
240
240
setCadEnabled ( false );
241
241
}
@@ -870,8 +870,10 @@ bool QgsAdvancedDigitizingDockWidget::canvasReleaseEventFilter( QgsMapMouseEvent
870
870
871
871
if ( e->button () == Qt::LeftButton )
872
872
{
873
- // continue digitizing if line or polygon
874
- if ( e->mapTool ()->mode () == QgsMapToolCapture::CaptureNone || e->mapTool ()->mode () == QgsMapToolCapture::CapturePoint )
873
+ // stop digitizing if not intermediate point and if line or polygon
874
+ if ( !mConstructionMode &&
875
+ ( e->mapTool ()->mode () == QgsMapToolCapture::CaptureNone ||
876
+ e->mapTool ()->mode () == QgsMapToolCapture::CapturePoint ) )
875
877
{
876
878
clearPoints ();
877
879
}
You can’t perform that action at this time.
0 commit comments