editors/ConfTreeNodeEditor.py
branch#2476
changeset 1991 34a9287b6c7d
parent 1853 47a3f39bead0
child 2001 bcbd41efd846
equal deleted inserted replaced
1958:67f0d7ff7d3e 1991:34a9287b6c7d
   487                         boxsizer.AddWindow(textctrl)
   487                         boxsizer.AddWindow(textctrl)
   488                         if element_infos["value"] is not None:
   488                         if element_infos["value"] is not None:
   489                             textctrl.ChangeValue(str(element_infos["value"]))
   489                             textctrl.ChangeValue(str(element_infos["value"]))
   490                         callback = self.GetTextCtrlCallBackFunction(textctrl, element_path)
   490                         callback = self.GetTextCtrlCallBackFunction(textctrl, element_path)
   491                         textctrl.Bind(wx.EVT_TEXT_ENTER, callback)
   491                         textctrl.Bind(wx.EVT_TEXT_ENTER, callback)
       
   492                         textctrl.Bind(wx.EVT_TEXT, callback)
   492                         textctrl.Bind(wx.EVT_KILL_FOCUS, callback)
   493                         textctrl.Bind(wx.EVT_KILL_FOCUS, callback)
   493             first = False
   494             first = False
   494         sizer.Layout()
   495         sizer.Layout()
   495         self.RefreshScrollbars()
   496         self.RefreshScrollbars()
   496 
   497