Skip to content
Permalink
Browse files
Merge pull request #329 from matthias-kuhn/diagram
Diagrams: Hide background color button when unnecessary
  • Loading branch information
mhugent committed Nov 13, 2012
2 parents 3b88637 + 543ac03 commit c490465
Showing 1 changed file with 4 additions and 0 deletions.
@@ -303,11 +303,15 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde
{
mLabelPlacementComboBox->show();
mLabelPlacementLabel->show();
mBackgroundColorLabel->show();
mBackgroundColorButton->show();
}
else
{
mLabelPlacementComboBox->hide();
mLabelPlacementLabel->hide();
mBackgroundColorLabel->hide();
mBackgroundColorButton->hide();
}

if ( DIAGRAM_NAME_HISTOGRAM == diagramType )

0 comments on commit c490465

Please sign in to comment.