Fix units naming in stackup

We were not handling the new mils/inches division in stackup table

Fixes https://gitlab.com/kicad/code/kicad/issues/9210
This commit is contained in:
Seth Hillbrand 2021-09-22 12:29:23 -07:00
parent c86ff9079a
commit 84864351c7
1 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,9 @@ std::vector<BOARD_ITEM*> DRAWING_TOOL::DrawSpecificationStackup( const wxPoint&
t->SetText( _( "Thickness (mm)" ) );
else if( m_frame->GetUserUnits() == EDA_UNITS::INCHES )
t->SetText( _( "Thickness (inches)" ) );
else if( m_frame->GetUserUnits() == EDA_UNITS::MILS )
t->SetText( _( "Thickness (mils)" ) );
colThickness.push_back( t );