Skip to content

Commit a4ff154

Browse files
committed
Fix setTargetComponent toolwindow warning
1 parent 3703a4d commit a4ff154

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

swan-assist/src/main/java/de/fraunhofer/iem/swan/assist/ui/SummaryToolWindow.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindo
4040
//Toolbar action panel
4141
final DefaultActionGroup actions = (DefaultActionGroup) ActionManager.getInstance().getAction("SWAN_Assist.ActionBar");
4242
final ActionToolbar actionToolbar = ActionManager.getInstance().createActionToolbar("SummaryToolbar", actions, true);
43+
actionToolbar.setTargetComponent(toolPanel);
4344

4445
if (toolWindow.getAnchor().isHorizontal()) {
4546
actionToolbar.setOrientation(SwingConstants.VERTICAL);

0 commit comments

Comments
 (0)