Skip to content

Commit

Permalink
Fix right click context menu (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlrobertoh authored Nov 6, 2023
1 parent 24fee1b commit 547cd88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
public class AskAction extends AnAction {

public AskAction() {
super("New CodeGPT Chat", "Chat with CodeGPT", AllIcons.Actions.Find);
super("New Chat", "Chat with CodeGPT", AllIcons.Actions.Find);
EditorActionsUtil.registerOrReplaceAction(this);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public static String[][] toArray(Map<String, String> actionsMap) {
}

public static void refreshActions() {
AnAction actionGroup = ActionManager.getInstance().getAction("project.label");
AnAction actionGroup = ActionManager.getInstance().getAction("action.editor.group.EditorActionGroup");
if (actionGroup instanceof DefaultActionGroup) {
DefaultActionGroup group = (DefaultActionGroup) actionGroup;
group.removeAll();
Expand Down

0 comments on commit 547cd88

Please sign in to comment.