Eeschema: fix Bug #1189893 (ps plot file opened twice)
This commit is contained in:
parent
39993e27e4
commit
179ada1c70
|
@ -132,11 +132,6 @@ bool DIALOG_PLOT_SCHEMATIC::plotOneSheetPS( const wxString& aFileName,
|
|||
double aScale,
|
||||
bool aPlotFrameRef )
|
||||
{
|
||||
FILE* output_file = wxFopen( aFileName, wxT( "wt" ) );
|
||||
|
||||
if( output_file == NULL )
|
||||
return false;
|
||||
|
||||
PS_PLOTTER* plotter = new PS_PLOTTER();
|
||||
plotter->SetPageSettings( aPageInfo );
|
||||
plotter->SetDefaultLineWidth( GetDefaultLineThickness() );
|
||||
|
|
Loading…
Reference in New Issue