editors/ConfTreeNodeEditor.py
changeset 1712 c1987ef148e4
parent 1707 92537edeb205
child 1733 dea107dce0c4
equal deleted inserted replaced
1707:92537edeb205 1712:c1987ef148e4
   411                                 combobox.Append(choice)
   411                                 combobox.Append(choice)
   412                             callback = self.GetChoiceCallBackFunction(combobox, element_path)
   412                             callback = self.GetChoiceCallBackFunction(combobox, element_path)
   413                         if element_infos["value"] is None:
   413                         if element_infos["value"] is None:
   414                             combobox.SetStringSelection("")
   414                             combobox.SetStringSelection("")
   415                         else:
   415                         else:
   416                             combobox.SetStringSelection(_(element_infos["value"]))
   416                             combobox.SetStringSelection(element_infos["value"])
   417                         combobox.Bind(wx.EVT_COMBOBOX, callback, combobox)
   417                         combobox.Bind(wx.EVT_COMBOBOX, callback, combobox)
   418 
   418 
   419                 elif isinstance(element_infos["type"], types.DictType):
   419                 elif isinstance(element_infos["type"], types.DictType):
   420                     scmin = -(2**31)
   420                     scmin = -(2**31)
   421                     scmax = 2**31-1
   421                     scmax = 2**31-1