editors/ConfTreeNodeEditor.py
changeset 1847 6198190bc121
parent 1846 14b40afccd69
child 1850 614396cbffbf
equal deleted inserted replaced
1846:14b40afccd69 1847:6198190bc121
   406                         boxsizer.AddWindow(combobox)
   406                         boxsizer.AddWindow(combobox)
   407 
   407 
   408                         if element_infos["use"] == "optional":
   408                         if element_infos["use"] == "optional":
   409                             combobox.Append("")
   409                             combobox.Append("")
   410                         if len(element_infos["type"]) > 0 and isinstance(element_infos["type"][0], types.TupleType):
   410                         if len(element_infos["type"]) > 0 and isinstance(element_infos["type"][0], types.TupleType):
   411                             for choice, xsdclass in element_infos["type"]:
   411                             for choice, _xsdclass in element_infos["type"]:
   412                                 combobox.Append(choice)
   412                                 combobox.Append(choice)
   413                             name = element_infos["name"]
   413                             name = element_infos["name"]
   414                             value = element_infos["value"]
   414                             value = element_infos["value"]
   415 
   415 
   416                             staticbox = wx.StaticBox(self.ParamsEditor,
   416                             staticbox = wx.StaticBox(self.ParamsEditor,