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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Apr 14 05:32:58 EDT 2008


Author: martinl
Date: 2008-04-14 05:32:58 -0400 (Mon, 14 Apr 2008)
New Revision: 30982

Modified:
   grass/trunk/gui/wxpython/gui_modules/dbm.py
Log:
wxGUI: (dbm): bugfix (restore columns on 'select' statement)


Modified: grass/trunk/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/dbm.py	2008-04-14 09:19:25 UTC (rev 30981)
+++ grass/trunk/gui/wxpython/gui_modules/dbm.py	2008-04-14 09:32:58 UTC (rev 30982)
@@ -156,7 +156,7 @@
 
         # self.ClearAll()
         for i in range(self.GetColumnCount()):
-            self.DeleteColumn(i)
+            self.DeleteColumn(0)
 
         tableName    = self.mapDBInfo.layers[layer]['table']
         keyColumn    = self.mapDBInfo.layers[layer]['key']



More information about the grass-commit mailing list