forked from qt-creator/qt-creator
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 938068d1e8.
Change-Id: Ie91f16e4fc7e891a34476d23c3e1b370fd7a7d68
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -414,7 +414,7 @@ void WelcomeMode::addPage(IWelcomePage *page)
|
|||||||
pageButton->setActiveChecker([this, pageId] { return m_activePage == pageId; });
|
pageButton->setActiveChecker([this, pageId] { return m_activePage == pageId; });
|
||||||
|
|
||||||
m_pluginList.insert(idx, page);
|
m_pluginList.insert(idx, page);
|
||||||
m_pageButtons.append(pageButton);
|
m_pageButtons.insert(idx, pageButton);
|
||||||
|
|
||||||
m_sideBar->m_pluginButtons->insertWidget(idx, pageButton);
|
m_sideBar->m_pluginButtons->insertWidget(idx, pageButton);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user