Commit 179ada1c authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Eeschema: fix Bug #1189893 (ps plot file opened twice)

parent 39993e27
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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() );