forked from qt-creator/qt-creator
Still start up in welcome tab initially and if it was the previous tab
Amendment to fe068869b9
Task-Number: QTCREATORBUG-6803
Change-Id: Ibf93ff87fc535133b87d8fdc51c2bce4da77ab76
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user