Commit 73a8ffe2 authored by dt's avatar dt
Browse files

Fixes: Session restore bolds the wrong project

Task:     246800
Details:  The value was restored correctly, but due to a optimization, a signal wasn't emitted.
parent 6cb5ea76
......@@ -638,7 +638,9 @@ bool SessionManager::loadImpl(const QString &fileName)
tr("Could not load session %1").arg(fileName));
success = false;
}
setStartupProject(m_file->m_startupProject);
// m_file->load() sets the m_file->startupProject
// but doesn't emit this signal, so we do it here
emit startupProjectChanged(m_file->m_startupProject);
}
if (success) {
......
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