diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp index 8bc82b43274..02a39f326a1 100644 --- a/src/plugins/projectexplorer/runconfiguration.cpp +++ b/src/plugins/projectexplorer/runconfiguration.cpp @@ -947,7 +947,7 @@ void RunControlPrivate::onWorkerFailed(RunWorker *worker, const QString &msg) worker->d->state = RunWorkerState::Failed; showError(msg); - setState(RunControlState::Stopped); + initiateStop(); } void RunControlPrivate::onWorkerStopped(RunWorker *worker)