Viewer.py
changeset 414 8d9e7edc0195
parent 400 12b55d82d363
child 407 0a324a874981
child 416 897ba122460e
--- a/Viewer.py	Thu Aug 20 09:03:31 2009 -0600
+++ b/Viewer.py	Wed Sep 02 08:30:34 2009 -0600
@@ -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":