[GRASS-SVN] r37037 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 7 08:39:23 EDT 2009


Author: hamish
Date: 2009-05-07 08:39:23 -0400 (Thu, 07 May 2009)
New Revision: 37037

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py
Log:
provide a default value so it doesn't try and search against a null column

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py	2009-05-07 10:23:49 UTC (rev 37036)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/location_wizard.py	2009-05-07 12:39:23 UTC (rev 37037)
@@ -1250,7 +1250,8 @@
                                        style=wx.ALIGN_LEFT | wx.ALIGN_CENTER_VERTICAL)
         self.csearch = wx.Choice(parent = self, id = wx.ID_ANY,
                                  choices = [_("codes"), _("description"), _("parameters")])
-        
+        self.csearch.SetStringSelection(_("description"))
+
         # text input
         epsgdir = utils.PathJoin(os.environ["GRASS_PROJSHARE"], 'epsg')
         self.tfile = self.MakeTextCtrl(text=epsgdir, size=(200,-1))



More information about the grass-commit mailing list