Refresh plots after simulation is relaunched

This commit is contained in:
Maciej Suminski
2016-08-11 14:41:50 +02:00
parent e8d6a42e1a
commit ef45cd696d
3 changed files with 44 additions and 44 deletions
-4
View File
@@ -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() )
{