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();
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;
}