Do not update values if simulation is rerun Otherwise sometimes the signal list might be cleared and a new list is not yet available, resulting in loss of signals and cursors.

This commit is contained in:
Maciej Suminski 2016-08-11 14:42:19 +02:00
parent d15eef06f9
commit dfb5c6bfdd
1 changed files with 3 additions and 0 deletions
eeschema/sim

View File

@ -951,6 +951,9 @@ void SIM_PLOT_FRAME::onSimFinished( wxCommandEvent& aEvent )
if( !plotPanel || plotPanel->GetType() != simType )
plotPanel = NewPlotPanel( simType );
if( IsSimulationRunning() )
return;
// If there are any signals plotted, update them
if( SIM_PLOT_PANEL::IsPlottable( simType ) )
{