ADDED: Control of multi-layer plot order from plot dialog

Enabled by 0b136ae0
This commit is contained in:
Jon Evans
2023-10-12 21:52:37 -04:00
parent 0fe2e06949
commit 660c407095
2 changed files with 1 additions and 9 deletions
+1 -7
View File
@@ -151,7 +151,6 @@ DIALOG_PLOT::DIALOG_PLOT( PCB_EDIT_FRAME* aParent ) :
sbSizer->Add( m_plotAllLayersList, 1, wxALL | wxEXPAND, 5 );
#if 0 // re-enable once layer ordering is implemented
wxBoxSizer* bButtonSizer;
bButtonSizer = new wxBoxSizer( wxHORIZONTAL );
@@ -170,7 +169,6 @@ DIALOG_PLOT::DIALOG_PLOT( PCB_EDIT_FRAME* aParent ) :
bButtonSizer->Add( m_bpMoveDown, 0, wxALIGN_CENTER_VERTICAL | wxRIGHT, 5 );
sbSizer->Add( bButtonSizer, 0, wxALL | wxEXPAND, 5 );
#endif
bmiddleSizer->Insert( 1, sbSizer, 1, wxALL | wxEXPAND, 3 );
@@ -183,19 +181,15 @@ DIALOG_PLOT::DIALOG_PLOT( PCB_EDIT_FRAME* aParent ) :
GetSizer()->Fit( this );
GetSizer()->SetSizeHints( this );
#if 0 // re-enable once layer ordering is implemented
m_bpMoveUp->Bind( wxEVT_COMMAND_BUTTON_CLICKED, &DIALOG_PLOT::onPlotAllListMoveUp, this );
m_bpMoveDown->Bind( wxEVT_COMMAND_BUTTON_CLICKED, &DIALOG_PLOT::onPlotAllListMoveDown, this );
#endif
}
DIALOG_PLOT::~DIALOG_PLOT()
{
#if 0 // re-enable once layer ordering is implemented
m_bpMoveDown->Unbind( wxEVT_COMMAND_BUTTON_CLICKED, &DIALOG_PLOT::onPlotAllListMoveDown, this );
m_bpMoveUp->Unbind( wxEVT_COMMAND_BUTTON_CLICKED, &DIALOG_PLOT::onPlotAllListMoveUp, this );
#endif
}
@@ -1229,4 +1223,4 @@ void DIALOG_PLOT::onPlotFPText( wxCommandEvent& aEvent )
m_plotFootprintRefs->SetValue( false );
m_plotFootprintValues->SetValue( false );
}
}
}