Debugger: Fix condition

Change-Id: Iab50af437787be41eaef678b9083ad0845878629
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2014-05-19 23:32:44 +03:00
committed by hjk
parent b46064ea15
commit 8e6e8c6219

View File

@@ -648,7 +648,7 @@ static bool isAllowedTransition(DebuggerState from, DebuggerState to)
return to == InferiorStopOk || to == InferiorStopFailed;
case InferiorStopOk:
return to == InferiorRunRequested || to == InferiorShutdownRequested
|| to == InferiorStopOk || InferiorExitOk;
|| to == InferiorStopOk || to == InferiorExitOk;
case InferiorStopFailed:
return to == EngineShutdownRequested;