Skip to content

Commit

Permalink
Fix Select tools switch settings
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Oct 4, 2017
1 parent 83fdc5d commit 1ed95f4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/app/qgisapp.cpp
Expand Up @@ -2319,11 +2319,8 @@ void QgisApp::createToolBars()
bt->addActions( selectionActions );

QAction *defSelectAction = mActionSelectFeatures;
switch ( settings.value( QStringLiteral( "UI/selectTool" ), 0 ).toInt() )
switch ( settings.value( QStringLiteral( "UI/selectTool" ), 1 ).toInt() )
{
case 0:
defSelectAction = mActionSelectFeatures;
break;
case 1:
defSelectAction = mActionSelectFeatures;
break;
Expand Down

0 comments on commit 1ed95f4

Please sign in to comment.