mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixing incompilable code by pti.
This commit is contained in:
@@ -8,11 +8,11 @@ import com.intellij.openapi.actionSystem.Presentation;
|
||||
|
||||
public class RecentProjectsGroup extends ActionGroup {
|
||||
public AnAction[] getChildren(AnActionEvent e) {
|
||||
return RecentProjectsManager.getInstance().getRecentProjectsActions();
|
||||
return RecentProjectsManager.getInstance().getRecentProjectsActions(true);
|
||||
}
|
||||
|
||||
public void update(AnActionEvent event) {
|
||||
Presentation presentation = event.getPresentation();
|
||||
presentation.setEnabled(RecentProjectsManager.getInstance().getRecentProjectsActions().length > 0);
|
||||
presentation.setEnabled(RecentProjectsManager.getInstance().getRecentProjectsActions(true).length > 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user