Don't hardcode units for length/height/width in properties dialog

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15967
This commit is contained in:
Ian McInerney 2023-10-27 22:11:28 +01:00
parent 1c847889e7
commit 9f21d0d719
1 changed files with 0 additions and 4 deletions

View File

@ -117,13 +117,9 @@ DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES( PCB_BASE_EDIT_FRAME* aParent,
m_bezierCtrl2X.SetCoordType( ORIGIN_TRANSFORMS::ABS_X_COORD );
m_bezierCtrl2Y.SetCoordType( ORIGIN_TRANSFORMS::ABS_Y_COORD );
m_segmentLength.SetUnits( EDA_UNITS::MILLIMETRES );
m_segmentAngle.SetUnits( EDA_UNITS::DEGREES );
m_segmentAngle.SetPrecision( 4 );
m_rectangleHeight.SetUnits( EDA_UNITS::MILLIMETRES );
m_rectangleWidth.SetUnits( EDA_UNITS::MILLIMETRES );
m_angle.SetUnits( EDA_UNITS::DEGREES );
// Do not allow locking items in the footprint editor