forked from qt-creator/qt-creator
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().
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user