Fix cursor bugs in simulation.
1) cancel simProbe or simTune when simulator window closed 2) handle non-stock cursors through SetCurrentCursor() Fixes: lp:1833583 * https://bugs.launchpad.net/kicad/+bug/1833583
This commit is contained in:
@@ -1262,6 +1262,9 @@ void SIM_PLOT_FRAME::onClose( wxCloseEvent& aEvent )
|
||||
if( IsSimulationRunning() )
|
||||
m_simulator->Stop();
|
||||
|
||||
// Cancel a running simProbe or simTune tool
|
||||
m_schematicFrame->GetToolManager()->RunAction( ACTIONS::cancelInteractive );
|
||||
|
||||
Destroy();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user