Skip to content

Commit

Permalink
Diagrams: Hide background color button when unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 13, 2012
1 parent 3b88637 commit 543ac03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgsdiagramproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 543ac03

Please sign in to comment.