[GRASS-SVN] r37039 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 7 08:41:12 EDT 2009
Author: hamish
Date: 2009-05-07 08:41:12 -0400 (Thu, 07 May 2009)
New Revision: 37039
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py
Log:
provide a default value so it doesn't try and search against a null column (merge from devbr6)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py 2009-05-07 12:40:57 UTC (rev 37038)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/location_wizard.py 2009-05-07 12:41:12 UTC (rev 37039)
@@ -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