Handle SCH_TEXTBOX in SCH_SEXPR_PLUGIN::Format.
Fixes https://gitlab.com/kicad/code/kicad/issues/10771
This commit is contained in:
parent
a60aa68b3a
commit
b57ac3d517
|
@ -989,6 +989,10 @@ void SCH_SEXPR_PLUGIN::Format( EE_SELECTION* aSelection, SCH_SHEET_PATH* aSelect
|
|||
saveText( static_cast<SCH_TEXT*>( item ), 0 );
|
||||
break;
|
||||
|
||||
case SCH_TEXTBOX_T:
|
||||
saveTextBox( static_cast<SCH_TEXTBOX*>( item ), 0 );
|
||||
break;
|
||||
|
||||
default:
|
||||
wxASSERT( "Unexpected schematic object type in SCH_SEXPR_PLUGIN::Format()" );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue