Bug with output variable and transition test fixed
authorlbessard
Sun, 07 Sep 2008 19:22:10 +0200
changeset 255 068935254b28
parent 254 27abdcf9a460
child 256 42dd57b23e36
Bug with output variable and transition test fixed
Dialogs.py
--- a/Dialogs.py	Sun Sep 07 19:21:39 2008 +0200
+++ b/Dialogs.py	Sun Sep 07 19:22:10 2008 +0200
@@ -547,10 +547,10 @@
             elif var_type == "Input" and self.Class.GetStringSelection() == "Input":
                 self.VariableName.Append(name)
             elif var_type == "Output" and self.Class.GetStringSelection() == "Output":
-                if transition != "" or name == transition:
+                if self.Transition == "" or name == self.Transition:
                     self.VariableName.Append(name)
             elif var_type == "InOut" and self.Class.GetStringSelection() == "InOut":
-                if transition != "" or name == transition:
+                if self.Transition == "" or name == self.Transition:
                     self.VariableName.Append(name)
         if self.VariableName.FindString(selected) != wx.NOT_FOUND:
             self.VariableName.SetStringSelection(selected)