Skip to content
Permalink
Browse files
HIG compliance for snap mode combo list
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11750 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 3, 2009
1 parent 72cd2d9 commit 83e0fc407ad83292e4c9daebc471d3ced6d96d36
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgsoptions.cpp
@@ -210,9 +210,9 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
mLineColourToolButton->setColor( QColor( myRed, myGreen, myBlue ) );

//default snap mode
mDefaultSnapModeComboBox->insertItem( 0, tr( "to vertex" ), "to vertex" );
mDefaultSnapModeComboBox->insertItem( 1, tr( "to segment" ), "to segment" );
mDefaultSnapModeComboBox->insertItem( 2, tr( "to vertex and segment" ), "to vertex and segment" );
mDefaultSnapModeComboBox->insertItem( 0, tr( "To vertex" ), "to vertex" );
mDefaultSnapModeComboBox->insertItem( 1, tr( "To segment" ), "to segment" );
mDefaultSnapModeComboBox->insertItem( 2, tr( "To vertex and segment" ), "to vertex and segment" );
QString defaultSnapString = settings.value( "/qgis/digitizing/default_snap_mode", "to vertex" ).toString();
mDefaultSnapModeComboBox->setCurrentIndex( mDefaultSnapModeComboBox->findData( defaultSnapString ) );
mDefaultSnappingToleranceSpinBox->setValue( settings.value( "/qgis/digitizing/default_snapping_tolerance", 0 ).toDouble() );

0 comments on commit 83e0fc4

Please sign in to comment.