diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index dd3cd836cc87035a244a4153d4e777bda761eda2..6ff24e81d48826c2ffa3c289fc5242cd3f588da2 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -1086,12 +1086,11 @@ void ProjectExplorerPlugin::buildQueueFinished(bool success) this, SLOT(addErrorToApplicationOutputWindow(RunControl *, const QString &))); connect(control, SIGNAL(finished()), this, SLOT(runControlFinished())); - control->start(); - if (m_runMode == ProjectExplorer::Constants::DEBUGMODE) m_debuggingRunControl = control; + control->start(); updateRunAction(); } } else {