mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Set expression context for geometry generator builder (fix #14833)
This commit is contained in:
parent
b4e2354163
commit
7187148afb
@ -3344,6 +3344,7 @@ QgsGeometryGeneratorSymbolLayerWidget::QgsGeometryGeneratorSymbolLayerWidget( co
|
||||
setupUi( this );
|
||||
modificationExpressionSelector->setLayer( const_cast<QgsVectorLayer*>( vl ) );
|
||||
modificationExpressionSelector->loadFieldNames();
|
||||
modificationExpressionSelector->setExpressionContext( _getExpressionContext( this ) );
|
||||
cbxGeometryType->addItem( QgsApplication::getThemeIcon( "/mIconPolygonLayer.svg" ), tr( "Polygon / MultiPolygon" ), QgsSymbolV2::Fill );
|
||||
cbxGeometryType->addItem( QgsApplication::getThemeIcon( "/mIconLineLayer.svg" ), tr( "LineString / MultiLineString" ), QgsSymbolV2::Line );
|
||||
cbxGeometryType->addItem( QgsApplication::getThemeIcon( "/mIconPointLayer.svg" ), tr( "Point / MultiPoint" ), QgsSymbolV2::Marker );
|
||||
|
Loading…
x
Reference in New Issue
Block a user