Skip to content

Commit

Permalink
fix parent refresh on clone.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsilaghi committed Oct 30, 2024
1 parent a74db60 commit ff80e8b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public LinearizationTableRow clone() {
clone.parentSelectionPanel = new HorizontalPanel();
clone.parentSelectionPanel.add(clone.linearizationParentSelector);
clone.parentSelectionPanel.add(clone.linearizationParentLabel);

clone.tableRefresh = this.tableRefresh;
clone.parentIri = this.parentIri;
clone.linearizationDefinition = this.linearizationDefinition;
clone.linearizationDefinitionWidget = new Label(linearizationDefinition.getDisplayLabel());
Expand Down Expand Up @@ -299,6 +299,8 @@ private ListBox getCopy(ListBox original) {
}
}

copy.addChangeHandler((event) -> this.handleParentSelected());

return copy;
}

Expand Down

0 comments on commit ff80e8b

Please sign in to comment.