From 18224e07cedff16ef8ba2a97d9a4f9038c51e91b Mon Sep 17 00:00:00 2001 From: Alexey Ushakov Date: Wed, 27 Jan 2016 12:46:53 +0300 Subject: [PATCH] IDEA-149864 Switch boot JDK on Windows shouldn't appear since unavailable Enabled switch boot jdk dialog on linux --- .../src/com/intellij/openapi/util/SwitchBootJdkAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/openapi/util/SwitchBootJdkAction.java b/platform/lang-impl/src/com/intellij/openapi/util/SwitchBootJdkAction.java index 9df8d77c19ed..6a9274a5a610 100644 --- a/platform/lang-impl/src/com/intellij/openapi/util/SwitchBootJdkAction.java +++ b/platform/lang-impl/src/com/intellij/openapi/util/SwitchBootJdkAction.java @@ -68,7 +68,7 @@ public class SwitchBootJdkAction extends AnAction implements DumbAware { @Override public void update(AnActionEvent e) { Presentation presentation = e.getPresentation(); - if (!(SystemInfo.isMac || (SystemInfo.isLinux && PlatformUtils.isIntelliJ()))) { + if (!(SystemInfo.isMac || SystemInfo.isLinux)) { presentation.setEnabledAndVisible(false); return; }