Skip to content

Commit

Permalink
use ActionPlaces.TOOLWINDOW_POPUP for resource tree popup menu (#705)
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Dietisheim <[email protected]>
  • Loading branch information
adietish committed Jan 12, 2024
1 parent 9c92e5b commit 7c37197
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 7c37197

Please sign in to comment.