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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 15 16:20:36 EST 2010


Author: martinl
Date: 2010-11-15 13:20:36 -0800 (Mon, 15 Nov 2010)
New Revision: 44336

Modified:
   grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: fix spinctrl widgets
(merge r44335 from devbr6)


Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-11-15 21:17:53 UTC (rev 44335)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py	2010-11-15 21:20:36 UTC (rev 44336)
@@ -1320,7 +1320,7 @@
                         # parameter previously set
                         if value:
                             if txt2.GetName() == "SpinCtrl":
-                                txt2.SetValue(value)
+                                txt2.SetValue(int(value))
                             else:
                                 txt2.SetValue(value)
                         



More information about the grass-commit mailing list