Commit 7df826eb authored by dt's avatar dt
Browse files

Startup: Do not switch away from the welcome mode

parent aa8e2e8e
......@@ -592,8 +592,10 @@ bool SessionManager::createImpl(const QString &fileName)
m_file->setFileName(fileName);
setStartupProject(0);
m_core->modeManager()->activateMode(Core::Constants::MODE_EDIT);
m_core->modeManager()->setFocusToCurrentMode();
if (!isDefaultVirgin()) {
m_core->modeManager()->activateMode(Core::Constants::MODE_EDIT);
m_core->modeManager()->setFocusToCurrentMode();
}
}
m_virginSession = true;
......
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