[GRASS-SVN] r54500 - grass/trunk/gui/wxpython/iclass

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 2 08:33:42 PST 2013


Author: martinl
Date: 2013-01-02 08:33:42 -0800 (Wed, 02 Jan 2013)
New Revision: 54500

Modified:
   grass/trunk/gui/wxpython/iclass/dialogs.py
Log:
wxGUI/iclass: set focus for IClassExportAreasDialog


Modified: grass/trunk/gui/wxpython/iclass/dialogs.py
===================================================================
--- grass/trunk/gui/wxpython/iclass/dialogs.py	2013-01-02 16:29:10 UTC (rev 54499)
+++ grass/trunk/gui/wxpython/iclass/dialogs.py	2013-01-02 16:33:42 UTC (rev 54500)
@@ -9,6 +9,7 @@
  - dialogs::IClassCategoryManagerDialog
  - dialogs::CategoryListCtrl
  - dialogs::IClassSignatureFileDialog
+ - dialogs::IClassExportAreasDialog
 
 (C) 2006-2011 by the GRASS Development Team
 This program is free software under the GNU General Public
@@ -530,7 +531,8 @@
         
         self.vectorNameCtrl.Bind(wx.EVT_TEXT, self.OnTextChanged)
         self.OnTextChanged(None)
-        
+        wx.CallAfter(self.vectorNameCtrl.SetFocus)
+
     def OnTextChanged(self, event):
         """!Name of new vector map given.
         



More information about the grass-commit mailing list