Bug in contact edition not allowing output referencing fixed
authorlbessard
Wed, 24 Sep 2008 17:18:08 +0200
changeset 277 5fc11b2d4fbb
parent 276 cc9c4a7510b4
child 278 e3ed4747086f
Bug in contact edition not allowing output referencing fixed
Viewer.py
--- a/Viewer.py	Wed Sep 24 17:16:40 2008 +0200
+++ b/Viewer.py	Wed Sep 24 17:18:08 2008 +0200
@@ -1676,7 +1676,7 @@
         vars = self.Controler.GetEditedElementInterfaceVars(self.TagName, self.Debug)
         if vars:
             for var in vars:
-                if var["Class"] != "Output" and var["Type"] == "BOOL":
+                if var["Type"] == "BOOL":
                     varlist.append(var["Name"])
         dialog.SetVariables(varlist)
         dialog.SetValues({"name":"","type":CONTACT_NORMAL})
@@ -1981,7 +1981,7 @@
         vars = self.Controler.GetEditedElementInterfaceVars(self.TagName, self.Debug)
         if vars:
             for var in vars:
-                if var["Class"] != "Output" and var["Type"] == "BOOL":
+                if var["Type"] == "BOOL":
                     varlist.append(var["Name"])
         dialog.SetVariables(varlist)
         values = {"name" : contact.GetName(), "type" : contact.GetType()}