From 4b2fa40fccf13c9321624c1faf5249a18e432da5 Mon Sep 17 00:00:00 2001 From: Urs Wolfer Date: Sun, 13 Jun 2021 21:56:35 +0200 Subject: [PATCH] Port away from deprecated PopupHandler#installUnknownPopupHandler --- .../intellij/plugin/gerrit/ui/diff/CommentsDiffTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/urswolfer/intellij/plugin/gerrit/ui/diff/CommentsDiffTool.java b/src/main/java/com/urswolfer/intellij/plugin/gerrit/ui/diff/CommentsDiffTool.java index b09b0fab..1b703e81 100644 --- a/src/main/java/com/urswolfer/intellij/plugin/gerrit/ui/diff/CommentsDiffTool.java +++ b/src/main/java/com/urswolfer/intellij/plugin/gerrit/ui/diff/CommentsDiffTool.java @@ -229,7 +229,7 @@ private void addCommentActionToEditor(Editor editor, .get(); addCommentAction.registerCustomShortcutSet(CustomShortcutSet.fromString("C"), editor.getContentComponent()); group.add(addCommentAction); - PopupHandler.installUnknownPopupHandler(editor.getContentComponent(), group, ActionManager.getInstance()); + PopupHandler.installUnknownPopupHandler(editor.getContentComponent(), group); } private void addCommentsGutter(Editor editor,