mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-07 17:23:11 +00:00
Fix right click context menu (#257)
This commit is contained in:
parent
24fee1b0fc
commit
547cd889de
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ import org.jetbrains.annotations.NotNull;
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ public class EditorActionsUtil {
|
|||
}
|
||||
|
||||
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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue