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