Viewer.py
changeset 400 12b55d82d363
parent 391 07447ee3538e
child 407 0a324a874981
child 416 897ba122460e
--- a/Viewer.py	Thu Aug 27 18:28:16 2009 +0200
+++ b/Viewer.py	Thu Aug 27 18:29:46 2009 +0200
@@ -907,6 +907,8 @@
             if isinstance(element, SFC_Step):
                 if len(instance["inputs"]) > 0:
                     element.AddInput()
+                else:
+                    element.RemoveInput()
                 if len(instance["outputs"]) > 0:
                     element.AddOutput()
             if isinstance(element, SFC_Transition) and specific_values["condition_type"] == "connection":