Spice simulator: safety check
This commit is contained in:
@@ -87,6 +87,10 @@ public:
|
||||
case SIM_RUNNING:
|
||||
event = new wxCommandEvent( EVT_SIM_STARTED );
|
||||
break;
|
||||
|
||||
default:
|
||||
wxFAIL;
|
||||
return;
|
||||
}
|
||||
|
||||
wxQueueEvent( m_parent, event );
|
||||
|
||||
Reference in New Issue
Block a user