Skip to content

Commit

Permalink
Fix diagram property buttons do not hide with associated widget (fix #…
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 14, 2017
1 parent 3230e7b commit 0dfa4ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/qgsdiagramproperties.cpp
Expand Up @@ -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();
}

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

0 comments on commit 0dfa4ef

Please sign in to comment.