diff options
author | Daniel Teske <daniel.teske@nokia.com> | 2012-03-28 14:57:10 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@nokia.com> | 2012-03-28 15:00:21 +0200 |
commit | 68790aa20a06032e39011049e13b7f17ae470502 (patch) | |
tree | e108e779dec85084773851243f926942fb071b41 /src/plugins/projectexplorer/session.cpp | |
parent | 2bd4758fe4401b241a5b85df11bb764e8ad8af81 (diff) | |
download | qt-creator-68790aa20a06032e39011049e13b7f17ae470502.tar.gz |
On Session restore, set the correct startup project
Task-number: QTCREATORBUG-7161
Change-Id: Ie83961b35f2d7d4419a519a2fe6e4df601a67d1c
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/session.cpp')
-rw-r--r-- | src/plugins/projectexplorer/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/session.cpp b/src/plugins/projectexplorer/session.cpp index 103bf494c2..ff2924ac50 100644 --- a/src/plugins/projectexplorer/session.cpp +++ b/src/plugins/projectexplorer/session.cpp @@ -759,7 +759,7 @@ void SessionManager::restoreStartupProject(const Utils::PersistentSettingsReader const QString startupProjectPath = startupProject; foreach (Project *pro, m_projects) { if (QDir::cleanPath(pro->document()->fileName()) == startupProjectPath) { - setStartupProject(m_startupProject); + setStartupProject(pro); break; } } |