Skip to content
Permalink
Browse files
Set expression context for geometry generator builder (fix #14833)
  • Loading branch information
nyalldawson committed May 18, 2016
1 parent b4e2354 commit 7187148afb9d7c2d6670ef82b361f7d3b116fdc7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/symbology-ng/qgssymbollayerv2widget.cpp
@@ -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 );

0 comments on commit 7187148

Please sign in to comment.