diff --git a/images/images.qrc b/images/images.qrc index fe20fe0a5868..117010e8d713 100644 --- a/images/images.qrc +++ b/images/images.qrc @@ -1008,6 +1008,7 @@ themes/default/mIconCloud.svg themes/default/mActionTextInsideRect.svg themes/default/mIconLabelingRules.svg + themes/default/stacked-diagram.svg qgis_tips/symbol_levels.png diff --git a/images/themes/default/stacked-diagram.svg b/images/themes/default/stacked-diagram.svg new file mode 100644 index 000000000000..117ab3be2de0 --- /dev/null +++ b/images/themes/default/stacked-diagram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/gui/vector/qgsdiagramwidget.cpp b/src/gui/vector/qgsdiagramwidget.cpp index 4cb0bc72ff03..473852a0b214 100644 --- a/src/gui/vector/qgsdiagramwidget.cpp +++ b/src/gui/vector/qgsdiagramwidget.cpp @@ -48,7 +48,7 @@ QgsDiagramWidget::QgsDiagramWidget( QgsVectorLayer *layer, QgsMapCanvas *canvas, mDiagramTypeComboBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "text.svg" ) ), tr( "Text Diagram" ), ModeText ); mDiagramTypeComboBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "histogram.svg" ) ), tr( "Histogram" ), ModeHistogram ); mDiagramTypeComboBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "stacked-bar.svg" ) ), tr( "Stacked Bars" ), ModeStackedBar ); - mDiagramTypeComboBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "diagramNone.svg" ) ), tr( "Stacked Diagram" ), ModeStacked ); + mDiagramTypeComboBox->addItem( QgsApplication::getThemeIcon( QStringLiteral( "stacked-diagram.svg" ) ), tr( "Stacked Diagram" ), ModeStacked ); connect( mEngineSettingsButton, &QAbstractButton::clicked, this, &QgsDiagramWidget::showEngineConfigDialog );