Skip to content

Commit c490465

Browse files
committed
Merge pull request #329 from matthias-kuhn/diagram
Diagrams: Hide background color button when unnecessary
2 parents 3b88637 + 543ac03 commit c490465

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/qgsdiagramproperties.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,15 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde
303303
{
304304
mLabelPlacementComboBox->show();
305305
mLabelPlacementLabel->show();
306+
mBackgroundColorLabel->show();
307+
mBackgroundColorButton->show();
306308
}
307309
else
308310
{
309311
mLabelPlacementComboBox->hide();
310312
mLabelPlacementLabel->hide();
313+
mBackgroundColorLabel->hide();
314+
mBackgroundColorButton->hide();
311315
}
312316

313317
if ( DIAGRAM_NAME_HISTOGRAM == diagramType )

0 commit comments

Comments
 (0)