#2476 Fix for saving text in URI edit text box. No need to click out of URI edit text box to save edited text. #2476
authordporopat <denis.poropat@smarteh.si>
Thu, 19 Apr 2018 09:50:00 +0200
branch#2476
changeset 1991 34a9287b6c7d
parent 1958 67f0d7ff7d3e
child 1992 c488a866734d
child 1998 12b20698e4f3
child 2001 bcbd41efd846
#2476 Fix for saving text in URI edit text box. No need to click out of URI edit text box to save edited text.
editors/ConfTreeNodeEditor.py
--- a/editors/ConfTreeNodeEditor.py	Wed Feb 28 16:10:05 2018 +0100
+++ b/editors/ConfTreeNodeEditor.py	Thu Apr 19 09:50:00 2018 +0200
@@ -489,6 +489,7 @@
                             textctrl.ChangeValue(str(element_infos["value"]))
                         callback = self.GetTextCtrlCallBackFunction(textctrl, element_path)
                         textctrl.Bind(wx.EVT_TEXT_ENTER, callback)
+                        textctrl.Bind(wx.EVT_TEXT, callback)
                         textctrl.Bind(wx.EVT_KILL_FOCUS, callback)
             first = False
         sizer.Layout()