Fix plot format selection in plot dialog.
This commit is contained in:
parent
9d870fe157
commit
126fe2603f
|
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue