diff --git a/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/KubernetesToolWindowFactory.kt b/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/KubernetesToolWindowFactory.kt index 5858f0630..8c93d775e 100644 --- a/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/KubernetesToolWindowFactory.kt +++ b/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/KubernetesToolWindowFactory.kt @@ -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)