mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 09:03:31 +07:00
fix mac fullscreen action to be available in 10.7 (lion) only
This commit is contained in:
@@ -45,7 +45,7 @@ public class ToggleMacFullScreenAction extends AnAction implements DumbAware {
|
||||
@Override
|
||||
public void update(final AnActionEvent e) {
|
||||
final Presentation p = e.getPresentation();
|
||||
p.setVisible(SystemInfo.isMac);
|
||||
p.setEnabled(SystemInfo.isMac);
|
||||
p.setVisible(SystemInfo.isMac && SystemInfo.isMacOSLion);
|
||||
p.setEnabled(SystemInfo.isMac && SystemInfo.isMacOSLion);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user