Skip to content
Permalink
Browse files

Fix diagram property buttons do not hide with associated widget (fix #…

  • Loading branch information
nyalldawson committed Feb 14, 2017
1 parent 3230e7b commit 0dfa4ef99bf76f233f3915d5fe5f0f4d50d88ddd
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgsdiagramproperties.cpp
@@ -459,13 +459,15 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde
mTextOptionsFrame->show();
mBackgroundColorLabel->show();
mBackgroundColorButton->show();
mBackgroundColorDDBtn->show();
mDiagramFontButton->show();
}
else
{
mTextOptionsFrame->hide();
mBackgroundColorLabel->hide();
mBackgroundColorButton->hide();
mBackgroundColorDDBtn->hide();
mDiagramFontButton->hide();
}

@@ -509,11 +511,13 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde
{
mAngleOffsetComboBox->show();
mAngleOffsetLabel->show();
mStartAngleDDBtn->show();
}
else
{
mAngleOffsetComboBox->hide();
mAngleOffsetLabel->hide();
mStartAngleDDBtn->hide();
}
}
}

0 comments on commit 0dfa4ef

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