Skip to content

Commit

Permalink
Add icons to geometry generator type list
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 11, 2015
1 parent 7daca21 commit 19dcd21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/symbology-ng/qgssymbollayerv2widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3094,9 +3094,9 @@ QgsGeometryGeneratorSymbolLayerWidget::QgsGeometryGeneratorSymbolLayerWidget( co
{
setupUi( this );
modificationExpressionSelector->setLayer( const_cast<QgsVectorLayer*>( vl ) );
cbxGeometryType->addItem( tr( "Polygon / MultiPolygon" ), QgsSymbolV2::Fill );
cbxGeometryType->addItem( tr( "LineString / MultiLineString" ), QgsSymbolV2::Line );
cbxGeometryType->addItem( tr( "Point / MultiPoint" ), QgsSymbolV2::Marker );
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 );
connect( modificationExpressionSelector, SIGNAL( expressionParsed( bool ) ), this, SLOT( updateExpression() ) );
connect( cbxGeometryType, SIGNAL( currentIndexChanged( int ) ), this, SLOT( updateSymbolType() ) );
}
Expand Down

0 comments on commit 19dcd21

Please sign in to comment.