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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Mar 19 17:22:03 EDT 2008


Author: martinl
Date: 2008-03-19 17:22:03 -0400 (Wed, 19 Mar 2008)
New Revision: 30650

Modified:
   grass/trunk/gui/wxpython/gui_modules/digit.py
Log:
wxGUI (vdigit): minor fix (wxTextCtrl->wxSpinCtrl)

Modified: grass/trunk/gui/wxpython/gui_modules/digit.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/digit.py	2008-03-19 16:15:22 UTC (rev 30649)
+++ grass/trunk/gui/wxpython/gui_modules/digit.py	2008-03-19 21:22:03 UTC (rev 30650)
@@ -2287,7 +2287,7 @@
             newCat = max(self.cats[1]) + 1
         except:
             newCat = 1
-        self.catNew.SetValue(str(newCat))
+        self.catNew.SetValue(newCat)
 
         return True
 



More information about the grass-commit mailing list