mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
hide configure remote test discovery index action if not applicable
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ import com.intellij.openapi.vfs.VirtualFile;
|
||||
public class ConfigureTestDiscoveryAction extends AnAction {
|
||||
@Override
|
||||
public void update(AnActionEvent e) {
|
||||
e.getPresentation().setEnabled(Registry.is("testDiscovery.enabled") && e.getProject() != null);
|
||||
e.getPresentation().setEnabledAndVisible(Registry.is("testDiscovery.enabled") && e.getProject() != null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user