Skip to content
Permalink
Browse files

Make Select by Form default instead of By Expression

Since it's more user-friendly for beginners
  • Loading branch information
nyalldawson committed Dec 27, 2016
1 parent 1f37238 commit 14f18bd0202e340f990499edc8218885d0822de3
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/app/qgisapp.cpp
  2. +1 −1 src/ui/qgisapp.ui
@@ -2112,10 +2112,10 @@ void QgisApp::createToolBars()
QToolButton *bt = new QToolButton( mAttributesToolBar );
bt->setPopupMode( QToolButton::MenuButtonPopup );
QList<QAction*> selectActions;
selectActions << mActionSelectByExpression << mActionSelectByForm << mActionSelectAll
selectActions << mActionSelectByForm << mActionSelectByExpression << mActionSelectAll
<< mActionInvertSelection;
bt->addActions( selectActions );
bt->setDefaultAction( mActionSelectByExpression );
bt->setDefaultAction( mActionSelectByForm );
QAction* selectionAction = mAttributesToolBar->insertWidget( mActionDeselectAll, bt );
selectionAction->setObjectName( QStringLiteral( "ActionSelection" ) );

@@ -72,8 +72,8 @@
<addaction name="mActionSelectPolygon"/>
<addaction name="mActionSelectFreehand"/>
<addaction name="mActionSelectRadius"/>
<addaction name="mActionSelectByExpression"/>
<addaction name="mActionSelectByForm"/>
<addaction name="mActionSelectByExpression"/>
<addaction name="mActionDeselectAll"/>
<addaction name="mActionSelectAll"/>
<addaction name="mActionInvertSelection"/>

1 comment on commit 14f18bd

@nirvn

This comment has been minimized.

Copy link
Contributor

@nirvn nirvn commented on 14f18bd Dec 27, 2016

Excellent. What about giving select by expression a keyboard shortcut similar select by form? Ctrl+F3?

Please sign in to comment.
You can’t perform that action at this time.