Skip to content
Permalink
Browse files

Diagrams: Hide background color button when unnecessary

  • Loading branch information
m-kuhn committed Nov 13, 2012
1 parent 3b88637 commit 543ac03ed057c83d88a8de51d7a0e1789c24ad45
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgsdiagramproperties.cpp
@@ -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 543ac03

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