[GRASS-SVN] r33354 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 9 09:35:01 EDT 2008


Author: martinl
Date: 2008-09-09 09:35:00 -0400 (Tue, 09 Sep 2008)
New Revision: 33354

Modified:
   grass/trunk/gui/wxpython/gui_modules/gdialogs.py
Log:
wxGUI: set focus in NewVectorDialog to map name widget
(merge from devbr6, r33353)


Modified: grass/trunk/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2008-09-09 13:29:49 UTC (rev 33353)
+++ grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2008-09-09 13:35:00 UTC (rev 33354)
@@ -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