Commit e583422c authored by Eike Ziller's avatar Eike Ziller
Browse files

Still start up in welcome tab initially and if it was the previous tab

Amendment to fe068869



Task-Number: QTCREATORBUG-6803
Change-Id: Ibf93ff87fc535133b87d8fdc51c2bce4da77ab76
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
parent 841d5a99
......@@ -197,7 +197,8 @@ void WelcomeMode::initPlugins()
setActivePlugin(settings->value(QLatin1String(currentPageSettingsKeyC)).toInt());
// TODO: re-enable reading from Settings when possible. See QTCREATORBUG-6803
setActivePlugin(1);
if (activePlugin() > 1)
setActivePlugin(1);
QDeclarativeContext *ctx = m_welcomePage->rootContext();
ctx->setContextProperty(QLatin1String("welcomeMode"), this);
......
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