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:
parent
d15eef06f9
commit
dfb5c6bfdd
eeschema/sim
|
@ -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 ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue