Skip to content

Commit

Permalink
fix: Compatibility issue with 2021.1
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff MAURY <[email protected]>
  • Loading branch information
jeffmaury committed Apr 2, 2021
1 parent 8902ecc commit 8026296
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class KubernetesToolWindowFactory: ToolWindowFactory {
val structure = TreeStructure(resourceModel)
val treeModel = StructureTreeModelFactory.create(structure, project)
TreeUpdater(treeModel, structure, resourceModel)
val tree = Tree(AsyncTreeModel(treeModel))
val tree = Tree(AsyncTreeModel(treeModel, project))
tree.isRootVisible = false
tree.cellRenderer = NodeRenderer()
ResourceWatchController.install(tree)
Expand Down

0 comments on commit 8026296

Please sign in to comment.