[welcome screen] IDEA-297659: Build tree in constructor

Previously, tree was built because of installSearchField call that calls searchModel.updateStructure inside. So if SearchField is not installed some code won't work properly (e.g. nodes expanding/selecting)

GitOrigin-RevId: 5c95845680d749f3e493e228fb333d87473c8209
This commit is contained in:
Nikolay Rykunov
2022-07-20 16:13:51 +00:00
committed by intellij-monorepo-bot
parent 619d843e24
commit 1b58c7086e
@@ -95,6 +95,8 @@ internal class RecentProjectFilteringTree(
setExpandableItemsEnabled(false)
UIUtil.setCursor(this, Cursor.getPredefinedCursor(Cursor.HAND_CURSOR))
}
searchModel.updateStructure()
}
fun updateTree() {