Initialize enabled state of dimension text orientation combobox.
Fixes https://gitlab.com/kicad/code/kicad/issues/11674
This commit is contained in:
parent
80124d2463
commit
b056bbd9b9
|
@ -247,6 +247,7 @@ bool DIALOG_DIMENSION_PROPERTIES::TransferDataToWindow()
|
||||||
|
|
||||||
EDA_ANGLE orientation = text.GetTextAngle();
|
EDA_ANGLE orientation = text.GetTextAngle();
|
||||||
m_orientation.SetAngleValue( orientation.Normalize180() );
|
m_orientation.SetAngleValue( orientation.Normalize180() );
|
||||||
|
m_cbTextOrientation->Enable( !m_dimension->GetKeepTextAligned() );
|
||||||
m_cbKeepAligned->SetValue( m_dimension->GetKeepTextAligned() );
|
m_cbKeepAligned->SetValue( m_dimension->GetKeepTextAligned() );
|
||||||
|
|
||||||
m_bold->Check( text.IsBold() );
|
m_bold->Check( text.IsBold() );
|
||||||
|
|
Loading…
Reference in New Issue