[GRASS-SVN] r44335 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 15 16:17:53 EST 2010


Author: martinl
Date: 2010-11-15 13:17:53 -0800 (Mon, 15 Nov 2010)
New Revision: 44335

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: fix spinctrl widgets


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-11-15 21:01:59 UTC (rev 44334)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-11-15 21:17:53 UTC (rev 44335)
@@ -1278,7 +1278,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