Fixed bug when copying transition and connected FBD or LD diagram. Wire between the new transition and new FBD or LD diagram was not selected.
--- a/editors/Viewer.py Thu Dec 06 16:19:06 2012 +0100
+++ b/editors/Viewer.py Thu Dec 06 17:14:03 2012 +0100
@@ -1207,7 +1207,7 @@
element.AddOutput()
if isinstance(element, SFC_Transition) and specific_values["condition_type"] == "connection":
connector = element.GetConditionConnector()
- self.CreateWires(connector, id, specific_values["connection"]["links"], ids, selection)
+ self.CreateWires(connector, instance["id"], specific_values["connection"]["links"], ids, selection)
else:
executionControl = False
for input in instance["inputs"]: