Skip to content

Commit cb3b6f3

Browse files
authored
Merge pull request #3663 from ControlSystemStudio/CSSTUDIO-3597
CSSTUDIO-3597 Create a new instance of macros in `EmbeddedDisplayWidget.getEffectiveMacros()`.
2 parents 15e8cc9 + f5c5bf0 commit cb3b6f3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

app/display/model/src/main/java/org/csstudio/display/builder/model/widgets/EmbeddedDisplayWidget.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,13 @@ public WidgetProperty<?> getProperty(String name) throws IllegalArgumentExceptio
307307
return super.getProperty(name);
308308
}
309309

310+
@Override
311+
public Macros getEffectiveMacros()
312+
{
313+
final Macros macros = new Macros(super.getEffectiveMacros());
314+
return macros;
315+
}
316+
310317
/** @return 'file' property */
311318
public WidgetProperty<String> propFile()
312319
{

0 commit comments

Comments
 (0)