From 7c371976f3626a8332d112110419241a1f6287d7 Mon Sep 17 00:00:00 2001 From: Andre Dietisheim Date: Fri, 12 Jan 2024 15:14:41 +0100 Subject: [PATCH] use ActionPlaces.TOOLWINDOW_POPUP for resource tree popup menu (#705) Signed-off-by: Andre Dietisheim --- .../intellij/kubernetes/tree/ResourceTreeToolWindowFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/tree/ResourceTreeToolWindowFactory.kt b/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/tree/ResourceTreeToolWindowFactory.kt index 373b422f2..db2a6644a 100644 --- a/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/tree/ResourceTreeToolWindowFactory.kt +++ b/src/main/kotlin/com/redhat/devtools/intellij/kubernetes/tree/ResourceTreeToolWindowFactory.kt @@ -51,7 +51,7 @@ class ResourceTreeToolWindowFactory: ToolWindowFactory, DumbAware { toolWindow.contentManager.addContent(content) val tree = createTree(content, project) - PopupHandlerAdapter.install(tree, "com.redhat.devtools.intellij.kubernetes.tree", ActionPlaces.UNKNOWN) + PopupHandlerAdapter.install(tree, "com.redhat.devtools.intellij.kubernetes.tree", ActionPlaces.TOOLWINDOW_POPUP) panel.setViewportView(tree) }