# HG changeset patch # User lbessard # Date 1222269488 -7200 # Node ID 5fc11b2d4fbb6c526eaf5d63f192cc3f3c933498 # Parent cc9c4a7510b41f9b2c7d8593cc439699a70b6a1b Bug in contact edition not allowing output referencing fixed diff -r cc9c4a7510b4 -r 5fc11b2d4fbb 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()}