Assign textBox to correct unit & conversion.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15994
This commit is contained in:
parent
64c692a42e
commit
972308b24b
|
@ -1738,6 +1738,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