Skip to content

Commit 0dfa4ef

Browse files
committed
Fix diagram property buttons do not hide with associated widget (fix #16164)
1 parent 3230e7b commit 0dfa4ef

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
@@ -459,13 +459,15 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde
459459
mTextOptionsFrame->show();
460460
mBackgroundColorLabel->show();
461461
mBackgroundColorButton->show();
462+
mBackgroundColorDDBtn->show();
462463
mDiagramFontButton->show();
463464
}
464465
else
465466
{
466467
mTextOptionsFrame->hide();
467468
mBackgroundColorLabel->hide();
468469
mBackgroundColorButton->hide();
470+
mBackgroundColorDDBtn->hide();
469471
mDiagramFontButton->hide();
470472
}
471473

@@ -509,11 +511,13 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde
509511
{
510512
mAngleOffsetComboBox->show();
511513
mAngleOffsetLabel->show();
514+
mStartAngleDDBtn->show();
512515
}
513516
else
514517
{
515518
mAngleOffsetComboBox->hide();
516519
mAngleOffsetLabel->hide();
520+
mStartAngleDDBtn->hide();
517521
}
518522
}
519523
}

0 commit comments

Comments
 (0)