Refresh plots after simulation is relaunched
This commit is contained in:
@@ -668,15 +668,11 @@ void SIM_PLOT_FRAME::onSimUpdate( wxCommandEvent& aEvent )
|
||||
if( !m_simulator )
|
||||
return;
|
||||
|
||||
aEvent.Discard();
|
||||
|
||||
if( IsSimulationRunning() )
|
||||
StopSimulation();
|
||||
|
||||
m_simConsole->Clear();
|
||||
|
||||
printf("SimUpdate\n");
|
||||
|
||||
// Apply tuned values
|
||||
if( SIM_PLOT_PANEL* plotPanel = CurrentPlot() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user