Assign textBox to correct unit & conversion.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15994
This commit is contained in:
Jeff Young 2023-10-31 15:15:53 +00:00
parent 64c692a42e
commit 972308b24b
1 changed files with 2 additions and 0 deletions

View File

@ -1738,6 +1738,8 @@ LIB_TEXTBOX* SCH_SEXPR_PARSER::parseTextBox()
FILL_PARAMS fill;
std::unique_ptr<LIB_TEXTBOX> textBox = std::make_unique<LIB_TEXTBOX>( nullptr );
textBox->SetUnit( m_unit );
textBox->SetConvert( m_convert );
token = NextTok();
if( token == T_private )