Assign textBox to correct unit & conversion.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15994
(cherry picked from commit 972308b24b
)
This commit is contained in:
parent
c7c28c0471
commit
643894c882
|
@ -1694,6 +1694,8 @@ LIB_TEXTBOX* SCH_SEXPR_PARSER::parseTextBox()
|
||||||
FILL_PARAMS fill;
|
FILL_PARAMS fill;
|
||||||
std::unique_ptr<LIB_TEXTBOX> textBox = std::make_unique<LIB_TEXTBOX>( nullptr );
|
std::unique_ptr<LIB_TEXTBOX> textBox = std::make_unique<LIB_TEXTBOX>( nullptr );
|
||||||
|
|
||||||
|
textBox->SetUnit( m_unit );
|
||||||
|
textBox->SetConvert( m_convert );
|
||||||
token = NextTok();
|
token = NextTok();
|
||||||
|
|
||||||
if( token == T_private )
|
if( token == T_private )
|
||||||
|
|
Loading…
Reference in New Issue