Fix plot format selection in plot dialog.

This commit is contained in:
Marco Mattila 2011-01-30 22:21:39 +02:00
parent 9d870fe157
commit 126fe2603f
1 changed files with 1 additions and 3 deletions

View File

@ -308,7 +308,7 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
{ {
int format = getFormat(); int format = getFormat();
switch( format ) switch( format )
{ {
case PLOT_FORMAT_POST: case PLOT_FORMAT_POST:
default: default:
@ -394,8 +394,6 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event )
m_plotPSNegativeOpt->Enable( false ); m_plotPSNegativeOpt->Enable( false );
break; break;
} }
g_PcbPlotOptions.m_PlotFormat = format;
} }