Skip to content

Commit 48e42c5

Browse files
committed
fix typo in option name
1 parent 2c80988 commit 48e42c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/qgsmaptooloffsetcurve.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ void QgsMapToolOffsetCurve::setOffsetForRubberBand( double offset, bool leftSide
353353
QSettings s;
354354
int joinStyle = s.value( "/qgis/digitizing/offset_join_style", 0 ).toInt();
355355
int quadSegments = s.value( "/qgis/digitizing/offset_quad_seg", 8 ).toInt();
356-
double mitreLimit = s.value( "/qgis/digitizine/offset_miter_limit", 5.0 ).toDouble();
356+
double mitreLimit = s.value( "/qgis/digitizing/offset_miter_limit", 5.0 ).toDouble();
357357

358358
GEOSGeometry* offsetGeom = GEOSOffsetCurve( geosGeom, ( leftSide > 0 ) ? offset : -offset, quadSegments, joinStyle, mitreLimit );
359359
if ( !offsetGeom )

src/app/qgsoptions.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
504504
mOffsetJoinStyleComboBox->addItem( tr( "Bevel" ), 2 );
505505
mOffsetJoinStyleComboBox->setCurrentIndex( settings.value( "/qgis/digitizing/offset_join_style", 0 ).toInt() );
506506
mOffsetQuadSegSpinBox->setValue( settings.value( "/qgis/digitizing/offset_quad_seg", 8 ).toInt() );
507-
mCurveOffsetMiterLimitComboBox->setValue( settings.value( "/qgis/digitizine/offset_miter_limit", 5.0 ).toDouble() );
507+
mCurveOffsetMiterLimitComboBox->setValue( settings.value( "/qgis/digitizing/offset_miter_limit", 5.0 ).toDouble() );
508508

509509

510510
#ifdef Q_WS_MAC //MH: disable incremental update on Mac for now to avoid problems with resizing
@@ -906,7 +906,7 @@ void QgsOptions::saveOptions()
906906

907907
settings.setValue( "/qgis/digitizing/offset_join_style", mOffsetJoinStyleComboBox->itemData( mOffsetJoinStyleComboBox->currentIndex() ).toInt() );
908908
settings.setValue( "/qgis/digitizing/offset_quad_seg", mOffsetQuadSegSpinBox->value() );
909-
settings.setValue( "/qgis/digitizine/offset_miter_limit", mCurveOffsetMiterLimitComboBox->value() );
909+
settings.setValue( "/qgis/digitizing/offset_miter_limit", mCurveOffsetMiterLimitComboBox->value() );
910910

911911
//
912912
// Locale settings

0 commit comments

Comments
 (0)