[GRASS-SVN] r53839 - grass/trunk/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 15 09:09:12 PST 2012
Author: annakrat
Date: 2012-11-15 09:09:11 -0800 (Thu, 15 Nov 2012)
New Revision: 53839
Modified:
grass/trunk/gui/wxpython/mapdisp/statusbar.py
Log:
wxGUI: fix MASK status for different mapset
Modified: grass/trunk/gui/wxpython/mapdisp/statusbar.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/statusbar.py 2012-11-15 14:00:37 UTC (rev 53838)
+++ grass/trunk/gui/wxpython/mapdisp/statusbar.py 2012-11-15 17:09:11 UTC (rev 53839)
@@ -730,7 +730,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