Skip to content

Commit

Permalink
Diagrams: Hide font button where not required
Browse files Browse the repository at this point in the history
Fix #10701
  • Loading branch information
m-kuhn committed Jun 24, 2014
1 parent b261f57 commit 87826ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsdiagramproperties.cpp
Expand Up @@ -334,13 +334,15 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde
mLabelPlacementLabel->show();
mBackgroundColorLabel->show();
mBackgroundColorButton->show();
mDiagramFontButton->show();
}
else
{
mLabelPlacementComboBox->hide();
mLabelPlacementLabel->hide();
mBackgroundColorLabel->hide();
mBackgroundColorButton->hide();
mDiagramFontButton->hide();
}

if ( DIAGRAM_NAME_HISTOGRAM == diagramType )
Expand Down

0 comments on commit 87826ad

Please sign in to comment.