Don't put empty lines in the workbook.
Fixes https://gitlab.com/kicad/code/kicad/issues/12299
This commit is contained in:
parent
aa537fe559
commit
4872dd7238
|
@ -1100,7 +1100,7 @@ bool SIM_PLOT_FRAME::saveWorkbook( const wxString& aPath )
|
||||||
{
|
{
|
||||||
file.AddLine( wxString::Format( wxT( "%d" ), trace->GetType() ) );
|
file.AddLine( wxString::Format( wxT( "%d" ), trace->GetType() ) );
|
||||||
file.AddLine( trace->GetName() );
|
file.AddLine( trace->GetName() );
|
||||||
file.AddLine( trace->GetParam() );
|
file.AddLine( trace->GetParam().IsEmpty() ? wxS( " " ) : trace->GetParam() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue