Browse Source

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.

pull/3/merge
Maciej Suminski 9 years ago
parent
commit
dfb5c6bfdd
  1. 3
      eeschema/sim/sim_plot_frame.cpp

3
eeschema/sim/sim_plot_frame.cpp

@ -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…
Cancel
Save