Skip to content

Commit

Permalink
[Fix kbss-cvut/fta-fmea-ui#384] Fix adding new fault event with exist…
Browse files Browse the repository at this point in the history
…ing supertype in fault tree diagram - replace instances in supertypes with managed entities
  • Loading branch information
kostobog committed Jun 9, 2024
1 parent 3d6e796 commit d63d749
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public FaultEvent addInputEvent(URI eventUri, FaultEvent inputEvent) {
if(inputEvent.getUri() == null && inputEvent.getRectangle() == null)
inputEvent.setRectangle(new Rectangle());

faultEventDao.loadManagedSupertypes(inputEvent);
currentEvent.addChild(inputEvent);
update(currentEvent);

Expand Down

0 comments on commit d63d749

Please sign in to comment.