From 99ef26579abc15d06af87afd86b935e69da66971 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 28 Jan 2020 09:09:37 +0100 Subject: [PATCH] Welcome: Fix regression of displaying Projects by default Latest refactorings made the Welcome page display by default the list of projects instead of the examples page. This patch amends 938068d1e8cb83e8bdf06e6ac002f75008646ad7. Change-Id: Ie91f16e4fc7e891a34476d23c3e1b370fd7a7d68 Reviewed-by: David Schulz --- src/plugins/welcome/welcomeplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index ecd0022729d..0b68386b66f 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.cpp @@ -414,7 +414,7 @@ void WelcomeMode::addPage(IWelcomePage *page) pageButton->setActiveChecker([this, pageId] { return m_activePage == pageId; }); m_pluginList.insert(idx, page); - m_pageButtons.append(pageButton); + m_pageButtons.insert(idx, pageButton); m_sideBar->m_pluginButtons->insertWidget(idx, pageButton);