Skip to content
Snippets Groups Projects
Commit c5d39e43 authored by Lukas Ladenberger's avatar Lukas Ladenberger
Browse files

Merge branch 'develop' of github.com:bendisposto/prob into develop

parents 9ec9dfcb e7cd3535
No related branches found
No related tags found
No related merge requests found
......@@ -116,6 +116,16 @@ public class Switch extends BControl {
protected Object readResolve() {
super.readResolve();
for (BControl control : getChildrenArray()) {
for (Track n : ((TrackNode) control).getSourceTracks()) {
AbstractAttribute a2 = n
.getAttribute(AttributeConstants.ATTRIBUTE_CUSTOM);
a2.setEditable(false);
if (a2.getValue().equals("LEFT")) {
track1 = n;
} else if (a2.getValue().equals("RIGHT")) {
track2 = n;
}
}
for (Track n : ((TrackNode) control).getTargetTracks()) {
AbstractAttribute a2 = n
.getAttribute(AttributeConstants.ATTRIBUTE_CUSTOM);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment