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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 9 09:29:50 EDT 2008


Author: martinl
Date: 2008-09-09 09:29:49 -0400 (Tue, 09 Sep 2008)
New Revision: 33353

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: set focus in NewVectorDialog to map name widget


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2008-09-09 13:12:57 UTC (rev 33352)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gdialogs.py	2008-09-09 13:29:49 UTC (rev 33353)
@@ -58,6 +58,8 @@
                                    label=_("Name for new vector map:"))
         self.mapName = gselect.Select(parent=self.panel, id=wx.ID_ANY, size=globalvar.DIALOG_GSELECT_SIZE,
                                       type='vector', mapsets=[grassenv.GetGRASSVariable('MAPSET'),])
+        self.mapName.SetFocus()
+        
         self.table = wx.CheckBox(parent=self.panel, id=wx.ID_ANY,
                                  label=_("Create attribute table"))
         self.table.SetValue(True)



More information about the grass-commit mailing list