diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index b3c70ed984d..aa804bbe6d8 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.cpp @@ -357,8 +357,12 @@ void WelcomeMode::initPlugins() addPage(page); if (!m_activePage.isValid() && !m_pageButtons.isEmpty()) { - m_activePage = m_pluginList.at(0)->id(); - m_pageButtons.at(0)->click(); + const int welcomeIndex = Utils::indexOf(m_pluginList, + Utils::equal(&IWelcomePage::id, + Core::Id("Examples"))); + const int defaultIndex = welcomeIndex >= 0 ? welcomeIndex : 0; + m_activePage = m_pluginList.at(defaultIndex)->id(); + m_pageButtons.at(defaultIndex)->click(); } }