diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index 3af3f921daefed15f058ec9d9848326a9b54cab1..0778dad6f4ed3dba2aaa41ef12782da47da02a04 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -618,7 +618,7 @@ static bool isAllowedTransition(DebuggerState from, DebuggerState to) || to == InferiorUnrunnable || to == EngineRunFailed; case EngineRunFailed: - return to == InferiorShutdownRequested; + return to == EngineShutdownRequested; case InferiorRunRequested: return to == InferiorRunOk || to == InferiorRunFailed;