We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent e6034e9 commit 9c16a95Copy full SHA for 9c16a95
src/gui/symbology-ng/qgsvectorfieldsymbollayerwidget.cpp
@@ -26,11 +26,13 @@ QgsVectorFieldSymbolLayerWidget::QgsVectorFieldSymbolLayerWidget( const QgsVecto
26
{
27
mXAttributeComboBox->addItem( "" );
28
mYAttributeComboBox->addItem( "" );
29
+ int i = 0;
30
Q_FOREACH ( const QgsField& f, mVectorLayer->fields() )
31
32
QString fieldName = f.name();
- mXAttributeComboBox->addItem( fieldName );
33
- mYAttributeComboBox->addItem( fieldName );
+ mXAttributeComboBox->addItem( mVectorLayer->fields().iconForField( i ), fieldName );
34
+ mYAttributeComboBox->addItem( mVectorLayer->fields().iconForField( i ), fieldName );
35
+ i++;
36
}
37
38
0 commit comments