[GRASS-SVN] r44337 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Nov 15 16:40:23 EST 2010


Author: martinl
Date: 2010-11-15 13:40:23 -0800 (Mon, 15 Nov 2010)
New Revision: 44337

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


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-11-15 21:20:36 UTC (rev 44336)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-11-15 21:40:23 UTC (rev 44337)
@@ -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