Skip to content
Permalink
Browse files

Diagram type not properly selected in properties dialog

  • Loading branch information
m-kuhn committed Aug 16, 2012
1 parent 13ed4e0 commit 55b5dcbcc877af09435dc648826b9ff2384f07ea
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgsdiagramproperties.cpp
@@ -91,11 +91,11 @@ QgsDiagramProperties::QgsDiagramProperties( QgsVectorLayer* layer, QWidget* pare
}

QPixmap pix = QgsApplication::getThemePixmap( "pie-chart" );
mDiagramTypeComboBox->addItem( pix, tr( "Pie chart" ) );
mDiagramTypeComboBox->addItem( pix, tr( "Pie chart" ), DIAGRAM_NAME_PIE );
pix = QgsApplication::getThemePixmap( "text" );
mDiagramTypeComboBox->addItem( pix, tr( "Text diagram" ) );
mDiagramTypeComboBox->addItem( pix, tr( "Text diagram", DIAGRAM_NAME_TEXT ) );
pix = QgsApplication::getThemePixmap( "histogram" );
mDiagramTypeComboBox->addItem( pix, tr( "Histogram" ) );
mDiagramTypeComboBox->addItem( pix, tr( "Histogram" ), DIAGRAM_NAME_HISTOGRAM );

mLabelPlacementComboBox->addItem( tr( "Height" ), QgsDiagramSettings::Height );
mLabelPlacementComboBox->addItem( tr( "x-height" ), QgsDiagramSettings::XHeight );

0 comments on commit 55b5dcb

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