From 126fe2603f9d138a2ee709274633377520d7d2cf Mon Sep 17 00:00:00 2001 From: Marco Mattila Date: Sun, 30 Jan 2011 22:21:39 +0200 Subject: [PATCH] Fix plot format selection in plot dialog. --- pcbnew/pcbplot.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pcbnew/pcbplot.cpp b/pcbnew/pcbplot.cpp index 71cea36ffe..b5d3190133 100644 --- a/pcbnew/pcbplot.cpp +++ b/pcbnew/pcbplot.cpp @@ -308,7 +308,7 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event ) { int format = getFormat(); - switch( format ) + switch( format ) { case PLOT_FORMAT_POST: default: @@ -394,8 +394,6 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event ) m_plotPSNegativeOpt->Enable( false ); break; } - - g_PcbPlotOptions.m_PlotFormat = format; }