diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index c9d6d636f2a..9763e064e7f 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -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;