mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
collapse all action is back
This commit is contained in:
@@ -520,10 +520,10 @@ public class ProjectViewImpl extends ProjectView implements PersistentStateCompo
|
||||
scrollAction = (ScrollFromSourceAction)action;
|
||||
myActionGroup.remove(scrollAction);
|
||||
}
|
||||
if (action instanceof CollapseAllToolbarAction) {
|
||||
collapseAction = (CollapseAllToolbarAction)action;
|
||||
myActionGroup.remove(collapseAction);
|
||||
}
|
||||
//if (action instanceof CollapseAllToolbarAction) {
|
||||
// collapseAction = (CollapseAllToolbarAction)action;
|
||||
// myActionGroup.remove(collapseAction);
|
||||
//}
|
||||
}
|
||||
decorator.setTitleActions(new AnAction[] {scrollAction, collapseAction});
|
||||
}
|
||||
@@ -692,7 +692,7 @@ public class ProjectViewImpl extends ProjectView implements PersistentStateCompo
|
||||
return true;
|
||||
}
|
||||
}, getComponent());
|
||||
//myActionGroup.add(collapseAllAction);
|
||||
myActionGroup.add(collapseAllAction);
|
||||
getCurrentProjectViewPane().addToolbarActions(myActionGroup);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user