Skip to content

Commit

Permalink
Fix clear value for offset curve tool (fix #14751)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed May 2, 2016
1 parent 6e07102 commit 70adf26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsmaptooloffsetcurve.cpp
Expand Up @@ -334,6 +334,7 @@ void QgsMapToolOffsetCurve::createDistanceWidget()
mDistanceWidget->setMaximum( 99999999 );
mDistanceWidget->setDecimals( 6 );
mDistanceWidget->setPrefix( tr( "Offset: " ) );
mDistanceWidget->setClearValue( 0.0 );
QgisApp::instance()->addUserInputWidget( mDistanceWidget );

mDistanceWidget->setFocus( Qt::TabFocusReason );
Expand Down

0 comments on commit 70adf26

Please sign in to comment.