[GRASS-SVN] r64165 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 14 03:36:05 PST 2015
Author: martinl
Date: 2015-01-14 03:36:05 -0800 (Wed, 14 Jan 2015)
New Revision: 64165
Modified:
grass/trunk/gui/wxpython/gis_set.py
Log:
wxGUI: set focus on start button (wxPython 3)
Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py 2015-01-14 09:03:32 UTC (rev 64164)
+++ grass/trunk/gui/wxpython/gis_set.py 2015-01-14 11:36:05 UTC (rev 64165)
@@ -795,6 +795,7 @@
if locationName:
# enable start button when location and mapset is selected
self.bstart.Enable()
+ self.bstart.SetFocus()
self.bmapset.Enable()
self.manageloc.Enable()
else:
@@ -887,6 +888,7 @@
self.OnSelectLocation(None)
self.lbmapsets.SetSelection(self.listOfMapsets.index(mapset))
self.bstart.SetFocus()
+
return True
except StandardError as e:
GError(parent = self,
More information about the grass-commit
mailing list