Skip to content
Snippets Groups Projects
Commit cc75d11a authored by dt's avatar dt
Browse files

Session Manager: Set corrrect window title after unloading last project

Task-Nr: QTCREATORBUG-3337
parent 7baf7b24
No related branches found
No related tags found
No related merge requests found
......@@ -841,6 +841,8 @@ void SessionManager::updateWindowTitle()
if (isDefaultSession(m_sessionName)) {
if (Project *currentProject = ProjectExplorerPlugin::instance()->currentProject())
m_core->editorManager()->setWindowTitleAddition(currentProject->displayName());
else
m_core->editorManager()->setWindowTitleAddition("");
} else {
QString sessionName = m_sessionName;
if (sessionName.isEmpty())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment