Sim plots get consecutive numbers
This commit is contained in:
parent
112cf074f6
commit
aa3e251cdd
|
@ -98,7 +98,6 @@ SIM_PLOT_FRAME::SIM_PLOT_FRAME( KIWAY* aKiway, wxWindow* aParent )
|
|||
{
|
||||
m_exporter = NULL;
|
||||
m_simulator = NULL;
|
||||
m_currentPlot = NULL;
|
||||
m_pyConsole = NULL;
|
||||
m_simThread = NULL;
|
||||
|
||||
|
@ -197,8 +196,8 @@ void SIM_PLOT_FRAME::StopSimulation()
|
|||
void SIM_PLOT_FRAME::NewPlot()
|
||||
{
|
||||
SIM_PLOT_PANEL* plot = new SIM_PLOT_PANEL( this, wxID_ANY );
|
||||
m_plotNotebook->AddPage( plot, wxT( "Plot1" ), true );
|
||||
m_currentPlot = plot;
|
||||
m_plotNotebook->AddPage( plot,
|
||||
wxString::Format( wxT( "Plot%lu" ), m_plotNotebook->GetPageCount() + 1 ), true );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -69,7 +69,6 @@ class SIM_PLOT_FRAME : public SIM_PLOT_FRAME_BASE
|
|||
virtual void onSimReport( wxThreadEvent& aEvent );
|
||||
virtual void onSimFinished( wxThreadEvent& aEvent );
|
||||
|
||||
SIM_PLOT_PANEL* m_currentPlot;
|
||||
SCH_EDIT_FRAME* m_schematicFrame;
|
||||
NETLIST_EXPORTER_PSPICE* m_exporter;
|
||||
SPICE_SIMULATOR* m_simulator;
|
||||
|
|
Loading…
Reference in New Issue