--- 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)