Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
cc75d11a
Commit
cc75d11a
authored
Dec 09, 2010
by
dt
Browse files
Session Manager: Set corrrect window title after unloading last project
Task-Nr: QTCREATORBUG-3337
parent
7baf7b24
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/session.cpp
View file @
cc75d11a
...
...
@@ -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
())
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment