Skip to content

Commit

Permalink
Merge pull request #189 from jeffmaury/fix-2020.1
Browse files Browse the repository at this point in the history
fix: Compatibility issue with 2021.1
  • Loading branch information
jeffmaury committed Apr 2, 2021
2 parents 8902ecc + 8026296 commit 0f528f6
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 0f528f6

Please sign in to comment.