Skip to content

Commit

Permalink
use defaultMValue in QgsMapToolDigitizeFeature
Browse files Browse the repository at this point in the history
  • Loading branch information
lbartoletti committed Apr 30, 2021
1 parent 0b381b9 commit fc18428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmaptooldigitizefeature.cpp
Expand Up @@ -220,7 +220,7 @@ void QgsMapToolDigitizeFeature::cadCanvasReleaseEvent( QgsMapMouseEvent *e )


if ( QgsWkbTypes::hasM( layerWKBType ) ) if ( QgsWkbTypes::hasM( layerWKBType ) )
{ {
g.get()->addMValue(); g.get()->addMValue( defaultMValue() );
} }


f.setGeometry( g ); f.setGeometry( g );
Expand Down

0 comments on commit fc18428

Please sign in to comment.