浏览代码

fix https://trac.osgeo.org/grass/changeset/41685

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41689 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 年之前
父节点
当前提交
d8cd8bfa9d
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      gui/wxpython/gui_modules/menuform.py

+ 2 - 3
gui/wxpython/gui_modules/menuform.py

@@ -1349,7 +1349,7 @@ class cmdPanel(wx.Panel):
                         if p.get('value', '') != '':
                             txt3.SetValue(str(p['value'])) # parameter previously set
                     
-                #    txt3.Bind(wx.EVT_TEXT, self.OnSetValue)
+                txt3.Bind(wx.EVT_TEXT, self.OnSetValue)
                 
                 which_sizer.Add(item=txt3, proportion=0,
                                 flag=style, border=5)
@@ -1828,8 +1828,7 @@ class cmdPanel(wx.Panel):
         self.OnUpdateValues()
 
     def OnSetValue(self, event):
-        """!
-        Retrieve the widget value and set the task value field
+        """!Retrieve the widget value and set the task value field
         accordingly.
 
         Use for widgets that have a proper GetValue() method, i.e. not