Skip to content

Commit

Permalink
Merge pull request #113 from kbss-cvut/fix/fta-fmea-384-adding-fault-…
Browse files Browse the repository at this point in the history
…event-to-fault-tree

fta-fmea-ui#384 Fix adding new fault event with existing supertype in fault tree diagram
  • Loading branch information
kostobog authored Jun 9, 2024
2 parents 3d6e796 + d63d749 commit 2e98d20
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 2e98d20

Please sign in to comment.