mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
parent
bdda5d23d9
commit
1ebca43b33
@ -59,6 +59,7 @@ QgsExpressionSelectionDialog::QgsExpressionSelectionDialog( QgsVectorLayer *laye
|
||||
mExpressionBuilder->setExpressionText( startText );
|
||||
|
||||
QgsExpressionContext context( QgsExpressionContextUtils::globalProjectLayerScopes( mLayer ) );
|
||||
mExpressionBuilder->loadRecent( QStringLiteral( "selection" ) );
|
||||
mExpressionBuilder->setExpressionContext( context );
|
||||
|
||||
// by default, zoom to features is hidden, shown only if canvas is set
|
||||
@ -222,7 +223,7 @@ void QgsExpressionSelectionDialog::done( int r )
|
||||
|
||||
void QgsExpressionSelectionDialog::saveRecent()
|
||||
{
|
||||
mExpressionBuilder->saveToRecent( QStringLiteral( "Selection" ) );
|
||||
mExpressionBuilder->saveToRecent( QStringLiteral( "selection" ) );
|
||||
}
|
||||
|
||||
void QgsExpressionSelectionDialog::showHelp()
|
||||
|
Loading…
x
Reference in New Issue
Block a user