Browse Source

simulator: shows the wxCURSOR_ARROWWAIT cursor only when the sim is running.

Reset the mouse cursor to its default shape when the simulation is finished.
newinvert
jean-pierre charras 2 years ago
parent
commit
6a47fe1e3c
  1. 6
      eeschema/sim/simulator_frame.cpp

6
eeschema/sim/simulator_frame.cpp

@ -716,8 +716,12 @@ void SIMULATOR_FRAME::onSimFinished( wxCommandEvent& aEvent )
} while( max_time && m_simulator->IsRunning() );
}
// Is a warning message useful if the simulatior is still running?
// ensure the shown cursor is the default cursor, not the wxCURSOR_ARROWWAIT set when
// staring the simulator in onSimStarted:
SetCursor( wxNullCursor );
// Is a warning message useful if the simulatior is still running?
SCHEMATIC& schematic = m_schematicFrame->Schematic();
schematic.ClearOperatingPoints();

Loading…
Cancel
Save