Commit c7ad6ec5 authored by dt's avatar dt
Browse files

Fixes: Start Debugging beeing disabled.

Task:     Reported on internal irc.
Details:  a finished() signal could already be emitted from start(), so
we need to set m_debugginRunControl before start().
parent b6711f19
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment