diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index 73f1b321d9..da37117a82 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -102,7 +102,7 @@ SIM_PLOT_FRAME::SIM_PLOT_FRAME( KIWAY* aKiway, wxWindow* aParent ) Connect( wxEVT_SIM_REPORT, wxThreadEventHandler( SIM_PLOT_FRAME::onSimReport ), NULL, this ); Connect( wxEVT_SIM_FINISHED, wxThreadEventHandler( SIM_PLOT_FRAME::onSimFinished ), NULL, this ); - NewPlot(); + NewPlotPanel(); } @@ -191,7 +191,7 @@ void SIM_PLOT_FRAME::StopSimulation() } -void SIM_PLOT_FRAME::NewPlot() +void SIM_PLOT_FRAME::NewPlotPanel() { SIM_PLOT_PANEL* plot = new SIM_PLOT_PANEL( this, wxID_ANY ); m_plotNotebook->AddPage( plot, diff --git a/eeschema/sim/sim_plot_frame.h b/eeschema/sim/sim_plot_frame.h index fe427a838e..90e9a1e997 100644 --- a/eeschema/sim/sim_plot_frame.h +++ b/eeschema/sim/sim_plot_frame.h @@ -59,7 +59,7 @@ class SIM_PLOT_FRAME : public SIM_PLOT_FRAME_BASE void ResumeSimulation(); void StopSimulation(); - void NewPlot(); + void NewPlotPanel(); void AddVoltagePlot( const wxString& aNetName ); private: @@ -67,7 +67,7 @@ class SIM_PLOT_FRAME : public SIM_PLOT_FRAME_BASE void onNewPlot( wxCommandEvent& aEvent ) override { - NewPlot(); + NewPlotPanel(); } void onSignalDblClick( wxCommandEvent& event ) override;