IDEA-149864 Switch boot JDK on Windows shouldn't appear since unavailable

Enabled switch boot jdk dialog on linux
This commit is contained in:
Alexey Ushakov
2016-01-27 12:48:11 +03:00
parent cc93aa0828
commit 18224e07ce
@@ -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;
}