forked from qt-creator/qt-creator
Debugger: Fix condition
Change-Id: Iab50af437787be41eaef678b9083ad0845878629 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user