Skip to content
Permalink
Browse files

Set expression context for geometry generator builder (fix #14833)

(cherry-picked from 7187148)
  • Loading branch information
nyalldawson committed May 19, 2016
1 parent deb1e1e commit e3556f7d8905afdc1689aa74c1ed3f5f75330d1f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/symbology-ng/qgssymbollayerv2widget.cpp
@@ -3109,6 +3109,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 );

0 comments on commit e3556f7

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