[GRASS-SVN] r53841 - grass/branches/develbranch_6/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 15 09:10:55 PST 2012


Author: annakrat
Date: 2012-11-15 09:10:54 -0800 (Thu, 15 Nov 2012)
New Revision: 53841

Modified:
   grass/branches/develbranch_6/gui/wxpython/mapdisp/statusbar.py
Log:
wxGUI: fix MASK status for different mapset (merge from trunk, r53839)

Modified: grass/branches/develbranch_6/gui/wxpython/mapdisp/statusbar.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/mapdisp/statusbar.py	2012-11-15 17:10:13 UTC (rev 53840)
+++ grass/branches/develbranch_6/gui/wxpython/mapdisp/statusbar.py	2012-11-15 17:10:54 UTC (rev 53841)
@@ -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