Handle SCH_TEXTBOX in SCH_SEXPR_PLUGIN::Format.

Fixes https://gitlab.com/kicad/code/kicad/issues/10771
This commit is contained in:
Jeff Young 2022-02-06 12:01:10 +00:00
parent a60aa68b3a
commit b57ac3d517
1 changed files with 5 additions and 1 deletions

View File

@ -986,7 +986,11 @@ void SCH_SEXPR_PLUGIN::Format( EE_SELECTION* aSelection, SCH_SHEET_PATH* aSelect
case SCH_GLOBAL_LABEL_T:
case SCH_HIER_LABEL_T:
case SCH_DIRECTIVE_LABEL_T:
saveText( static_cast< SCH_TEXT* >( item ), 0 );
saveText( static_cast<SCH_TEXT*>( item ), 0 );
break;
case SCH_TEXTBOX_T:
saveTextBox( static_cast<SCH_TEXTBOX*>( item ), 0 );
break;
default: