Skip to content

Commit

Permalink
Fixed plugin validation
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenc committed Sep 10, 2024
1 parent b1bda50 commit 2d176e8
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package org.clarent.ivyidea;

import com.intellij.openapi.actionSystem.ActionUpdateThread;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.LangDataKeys;
import com.intellij.openapi.actionSystem.Presentation;
Expand Down Expand Up @@ -75,4 +76,10 @@ private void updatePresentation(Presentation presentation, Module activeModule)
presentation.setEnabled(linkEnabled);
presentation.setVisible(linkEnabled);
}

@Override
@NotNull
public ActionUpdateThread getActionUpdateThread() {
return ActionUpdateThread.EDT;
}
}

0 comments on commit 2d176e8

Please sign in to comment.