Browse Source

Initialize enabled state of dimension text orientation combobox.

Fixes https://gitlab.com/kicad/code/kicad/issues/11674
7.0
Jeff Young 3 years ago
parent
commit
b056bbd9b9
  1. 1
      pcbnew/dialogs/dialog_dimension_properties.cpp

1
pcbnew/dialogs/dialog_dimension_properties.cpp

@ -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() );

Loading…
Cancel
Save