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.
This commit is contained in:
parent
7302df8be3
commit
6a47fe1e3c
|
@ -716,8 +716,12 @@ void SIMULATOR_FRAME::onSimFinished( wxCommandEvent& aEvent )
|
||||||
|
|
||||||
} while( max_time && m_simulator->IsRunning() );
|
} 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& schematic = m_schematicFrame->Schematic();
|
||||||
schematic.ClearOperatingPoints();
|
schematic.ClearOperatingPoints();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue