Commit f2c7d33f authored by hjk's avatar hjk

debugger: fix startup sequence in scriptengine

parent 6fff4b4f
......@@ -246,7 +246,7 @@ void ScriptEngine::startEngine()
m_stopOnNextLine = false;
m_scriptEngine->abortEvaluation();
setState(EngineStarted);
notifyEngineStarted();
setState(InferiorStarting);
m_scriptFileName = QFileInfo(startParameters().executable).absoluteFilePath();
......@@ -258,7 +258,6 @@ void ScriptEngine::startEngine()
notifyEngineStartFailed();
return;
}
notifyEngineStarted();
QTextStream stream(&scriptFile);
m_scriptContents = stream.readAll();
scriptFile.close();
......
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