[GRASS-SVN] r41689 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Apr 3 07:27:56 EDT 2010


Author: martinl
Date: 2010-04-03 07:27:56 -0400 (Sat, 03 Apr 2010)
New Revision: 41689

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
fix r41685


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-04-03 11:23:43 UTC (rev 41688)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-04-03 11:27:56 UTC (rev 41689)
@@ -1349,7 +1349,7 @@
                         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 @@
         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



More information about the grass-commit mailing list