mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
TODO panel: set target component for toolbar
GitOrigin-RevId: ada8af49daf6182f3d8f9ef379b09a7b12a5206c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6213bff011
commit
9e73a1094a
@@ -215,7 +215,9 @@ public abstract class TodoPanel extends SimpleToolWindowPanel implements Occuren
|
||||
|
||||
toolbarGroup.add(new MyPreviewAction());
|
||||
|
||||
setToolbar(ActionManager.getInstance().createActionToolbar(ActionPlaces.TODO_VIEW_TOOLBAR, toolbarGroup, false).getComponent());
|
||||
ActionToolbar toolbar = ActionManager.getInstance().createActionToolbar(ActionPlaces.TODO_VIEW_TOOLBAR, toolbarGroup, false);
|
||||
toolbar.setTargetComponent(myTree);
|
||||
setToolbar(toolbar.getComponent());
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user