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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Dec 26 08:48:53 EST 2007


Author: martinl
Date: 2007-12-26 08:48:53 -0500 (Wed, 26 Dec 2007)
New Revision: 29506

Modified:
   grass/trunk/gui/wxpython/gui_modules/dbm.py
Log:
wxGUI/Attribute Table Manager: Fix typecasting problem (show attributes) when 'reload' button is pressed

Modified: grass/trunk/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/dbm.py	2007-12-26 12:47:59 UTC (rev 29505)
+++ grass/trunk/gui/wxpython/gui_modules/dbm.py	2007-12-26 13:48:53 UTC (rev 29506)
@@ -2825,7 +2825,7 @@
                     value = columns[name]['values'][idx]
                     id    = columns[name]['ids'][idx]
                     if name.lower() != "cat":
-                        self.FindWindowById(id).SetValue(value)
+                        self.FindWindowById(id).SetValue(str(value))
 
     def OnCancel(self, event):
         """Cancel button pressed"""



More information about the grass-commit mailing list