mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-149864 Switch boot JDK on Windows shouldn't appear since unavailable
Enabled switch boot jdk dialog on linux
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user