mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
ui: suppress warning about missing Toolbar target component
The actions in the BackgroundImageDialog are not using DataContext. GitOrigin-RevId: 7d31e1dff57ffe1c6bda7017917edffd5a15deb2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
897bfa4e1c
commit
148ada8bb5
@@ -206,6 +206,7 @@ public class BackgroundImageDialog extends DialogWrapper {
|
||||
actionGroup.add(createToggleAction(EDITOR, IdeBundle.message("toggle.editor.and.tools")));
|
||||
actionGroup.add(createToggleAction(FRAME, IdeBundle.message("toggle.empty.frame")));
|
||||
myToolbar = ActionManager.getInstance().createActionToolbar(getTitle(), actionGroup, true);
|
||||
myToolbar.setTargetComponent(myToolbar.getComponent());
|
||||
JComponent toolbarComponent = myToolbar.getComponent();
|
||||
toolbarComponent.setBorder(JBUI.Borders.empty());
|
||||
myTargetPanel.add(toolbarComponent);
|
||||
|
||||
Reference in New Issue
Block a user