From 643894c8821d200294abdece070b3421be1afa10 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 31 Oct 2023 15:15:53 +0000 Subject: [PATCH] Assign textBox to correct unit & conversion. Fixes https://gitlab.com/kicad/code/kicad/-/issues/15994 (cherry picked from commit 972308b24b4e1fd6ec5786e1703be50bcd6536a1) --- eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp b/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp index 647db3a532..48468406e7 100644 --- a/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp +++ b/eeschema/sch_plugins/kicad/sch_sexpr_parser.cpp @@ -1694,6 +1694,8 @@ LIB_TEXTBOX* SCH_SEXPR_PARSER::parseTextBox() FILL_PARAMS fill; std::unique_ptr textBox = std::make_unique( nullptr ); + textBox->SetUnit( m_unit ); + textBox->SetConvert( m_convert ); token = NextTok(); if( token == T_private )