Skip to content

Commit

Permalink
[Fix] Fixed locator not updated on new IActivityElement parent
Browse files Browse the repository at this point in the history
  • Loading branch information
eitch committed Nov 27, 2023
1 parent bd03144 commit 4bee599
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions model/src/main/java/li/strolch/model/activity/Action.java
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ public String toString() {
public void setParent(Activity activity) {
assertNotReadonly();
this.parent = activity;
this.locator = null;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,7 @@ public PolicyDef findPolicy(String className, PolicyDef defaultDef) throws Strol
public void setParent(Activity activity) {
assertNotReadonly();
this.parent = activity;
this.locator = null;
}

/**
Expand Down

0 comments on commit 4bee599

Please sign in to comment.