[GRASS-SVN] r38935 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Aug 31 16:03:18 EDT 2009
Author: martinl
Date: 2009-08-31 16:03:18 -0400 (Mon, 31 Aug 2009)
New Revision: 38935
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
fix menuform crash
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2009-08-31 19:10:23 UTC (rev 38934)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2009-08-31 20:03:18 UTC (rev 38935)
@@ -273,7 +273,7 @@
self.data[win.InsertTableColumns] = { 'table' : pTable.get('value'),
'driver' : driver,
'database' : db }
- else:
+ elif pTable:
self.data[win.InsertTableColumns] = { 'table' : pTable.get('value') }
def UpdateDialog(parent, event, eventId, task):
More information about the grass-commit
mailing list