Browse Source

provide a default value so it doesn't try and search against a null column (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37038 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 16 years ago
parent
commit
0612e07d29
1 changed files with 2 additions and 1 deletions
  1. 2 1
      gui/wxpython/gui_modules/location_wizard.py

+ 2 - 1
gui/wxpython/gui_modules/location_wizard.py

@@ -1250,7 +1250,8 @@ class EPSGPage(TitledPage):
                                        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))