Commit 126fe260 authored by Marco Mattila's avatar Marco Mattila

Fix plot format selection in plot dialog.

parent 9d870fe1
...@@ -308,7 +308,7 @@ void DIALOG_PLOT::SetPlotFormat( wxCommandEvent& event ) ...@@ -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 ) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment