Don't put empty lines in the workbook.

Fixes https://gitlab.com/kicad/code/kicad/issues/12299
This commit is contained in:
Jeff Young 2022-12-07 11:33:49 +00:00
parent aa537fe559
commit 4872dd7238
1 changed files with 1 additions and 1 deletions

View File

@ -1100,7 +1100,7 @@ bool SIM_PLOT_FRAME::saveWorkbook( const wxString& aPath )
{
file.AddLine( wxString::Format( wxT( "%d" ), trace->GetType() ) );
file.AddLine( trace->GetName() );
file.AddLine( trace->GetParam() );
file.AddLine( trace->GetParam().IsEmpty() ? wxS( " " ) : trace->GetParam() );
}
}