[GRASS-SVN] r53840 - grass/branches/releasebranch_6_4/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 15 09:10:14 PST 2012
Author: annakrat
Date: 2012-11-15 09:10:13 -0800 (Thu, 15 Nov 2012)
New Revision: 53840
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/statusbar.py
Log:
wxGUI: fix MASK status for different mapset (merge from trunk, r53839)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/statusbar.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/statusbar.py 2012-11-15 17:09:11 UTC (rev 53839)
+++ grass/branches/releasebranch_6_4/gui/wxpython/mapdisp/statusbar.py 2012-11-15 17:10:13 UTC (rev 53840)
@@ -722,7 +722,8 @@
self.widget.Hide()
def Update(self):
- if grass.find_file(name = 'MASK', element = 'cell')['name']:
+ if grass.find_file(name = 'MASK', element = 'cell',
+ mapset = grass.gisenv()['MAPSET'])['name']:
self.Show()
else:
self.Hide()
More information about the grass-commit
mailing list