# HG changeset patch # User laurent # Date 1251390586 -7200 # Node ID 12b55d82d3633a5d37786e847893e79e355cf4d3 # Parent 3b9e0b0922986b05fb7c88b522afe9c9ab13c271 Bug loading step with wrong input definition fixed diff -r 3b9e0b092298 -r 12b55d82d363 Viewer.py --- 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":