[GRASS-SVN] r36774 - grass/branches/releasebranch_6_4/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Apr 18 07:39:03 EDT 2009
Author: martinl
Date: 2009-04-18 07:39:02 -0400 (Sat, 18 Apr 2009)
New Revision: 36774
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
Log:
Fix r36773
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py 2009-04-18 11:35:27 UTC (rev 36773)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gis_set.py 2009-04-18 11:39:02 UTC (rev 36774)
@@ -608,6 +608,10 @@
disabled = []
idx = 0
+ try:
+ locationName = self.listOfLocations[self.lblocations.GetSelection()]
+ except IndexError:
+ locationName = ''
for mapset in self.listOfMapsets:
if mapset not in self.listOfMapsetsSelectable:
More information about the grass-commit
mailing list