diff --git a/app/display/editor/src/main/java/org/csstudio/display/builder/editor/properties/PropertyPanelSection.java b/app/display/editor/src/main/java/org/csstudio/display/builder/editor/properties/PropertyPanelSection.java index e18f309283..e597aa2162 100644 --- a/app/display/editor/src/main/java/org/csstudio/display/builder/editor/properties/PropertyPanelSection.java +++ b/app/display/editor/src/main/java/org/csstudio/display/builder/editor/properties/PropertyPanelSection.java @@ -452,7 +452,7 @@ else if (property instanceof MacroizedWidgetProperty) final Button open_editor = new Button("..."); open_editor.setOnAction(event -> { - final MultiLineInputDialog dialog = new MultiLineInputDialog(macro_prop.getSpecification()); + final MultiLineInputDialog dialog = new MultiLineInputDialog(open_editor, macro_prop.getSpecification()); DialogHelper.positionDialog(dialog, open_editor, -600, 0); final Optional result = dialog.showAndWait(); if (!result.isPresent())