Commit 98981a67 authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Update welcomescreen if session manager is closed and welcome mode is active.

Reviewed-By: dt
parent 3a0db441
......@@ -854,6 +854,13 @@ void ProjectExplorerPlugin::showSessionManager()
sessionDialog.exec();
updateActions();
Core::ModeManager *modeManager = Core::ModeManager::instance();
Core::IMode *welcomeMode = modeManager->mode(Core::Constants::MODE_WELCOME);
if (modeManager->currentMode() == welcomeMode)
{
updateWelcomePage(qobject_cast<Core::Internal::WelcomeMode*>(welcomeMode));
}
}
void ProjectExplorerPlugin::setStartupProject(Project *project)
......
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