Switch to scoped enums
This commit is contained in:
committed by
Seth Hillbrand
parent
6b9f2ac91a
commit
11ff16be4e
@@ -167,7 +167,7 @@ DIALOG_CREATE_ARRAY::DIALOG_CREATE_ARRAY( PCB_BASE_FRAME* aParent,
|
||||
m_choiceSecAxisNumbering->SetSelection( 0 );
|
||||
m_choiceCircNumbering->SetSelection( 0 );
|
||||
|
||||
m_circAngle.SetUnits( EDA_UNITS_T::DEGREES );
|
||||
m_circAngle.SetUnits( EDA_UNITS::DEGREES );
|
||||
|
||||
// bind grid options to persister
|
||||
m_cfg_persister.Add( *m_entryNx, saved_array_options.m_gridNx );
|
||||
@@ -377,7 +377,8 @@ bool DIALOG_CREATE_ARRAY::TransferDataFromWindow()
|
||||
|
||||
newCirc->m_centre.x = m_hCentre.GetValue();
|
||||
newCirc->m_centre.y = m_vCentre.GetValue();
|
||||
newCirc->m_angle = DoubleValueFromString( DEGREES, m_entryCircAngle->GetValue() );
|
||||
newCirc->m_angle =
|
||||
DoubleValueFromString( EDA_UNITS::DEGREES, m_entryCircAngle->GetValue() );
|
||||
|
||||
ok = ok && validateLongEntry(*m_entryCircCount, newCirc->m_nPts, _("point count"), errors);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user