Initialize enabled state of dimension text orientation combobox.

Fixes https://gitlab.com/kicad/code/kicad/issues/11674
This commit is contained in:
Jeff Young 2022-05-28 19:41:39 +01:00
parent 80124d2463
commit b056bbd9b9
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ bool DIALOG_DIMENSION_PROPERTIES::TransferDataToWindow()
EDA_ANGLE orientation = text.GetTextAngle();
m_orientation.SetAngleValue( orientation.Normalize180() );
m_cbTextOrientation->Enable( !m_dimension->GetKeepTextAligned() );
m_cbKeepAligned->SetValue( m_dimension->GetKeepTextAligned() );
m_bold->Check( text.IsBold() );