Skip to content

Commit

Permalink
Preserve Connection Position on Type Update
Browse files Browse the repository at this point in the history
On type update connections for the updated type where added at the end
of the connection list. With this change the position is preserved which
results in less changes to XML files and more stable git commits.
  • Loading branch information
azoitl committed Oct 17, 2024
1 parent 0352198 commit b2b0d82
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ protected void replaceConnection(final Connection oldConn, final IInterfaceEleme
cmd.setDestination(dest);
cmd.setVisible(oldConn.isVisible());
cmd.setArrangementConstraints(oldConn.getRoutingData());
cmd.setElementIndex(fbn.getConnectionIndex(oldConn));
reconnCmds.add(cmd);
}
}
Expand Down

0 comments on commit b2b0d82

Please sign in to comment.