mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Make Select by Form default instead of By Expression
Since it's more user-friendly for beginners
This commit is contained in:
parent
1f37238de2
commit
14f18bd020
@ -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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user