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:
Jeff Young
2019-08-04 16:25:36 -06:00
parent 95bfb733ee
commit 97d70d7844
4 changed files with 26 additions and 37 deletions
+3
View File
@@ -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();
}