[GRASS-SVN] r44165 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Nov 2 10:38:31 EDT 2010


Author: martinl
Date: 2010-11-02 07:38:31 -0700 (Tue, 02 Nov 2010)
New Revision: 44165

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
Log:
wxGUI: don't parse r.mapcalc


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2010-11-02 14:35:12 UTC (rev 44164)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/goutput.py	2010-11-02 14:38:31 UTC (rev 44165)
@@ -701,7 +701,8 @@
         
         if self.parent.GetName() == "LayerManager":
             self.btn_abort.Enable(False)
-            if event.cmd[0] not in globalvar.grassCmd['all']:
+            if event.cmd[0] not in globalvar.grassCmd['all'] or \
+                    event.cmd[0] == 'r.mapcalc':
                 return
             display = self.parent.GetLayerTree().GetMapDisplay()
             if not display or not display.IsAutoRendered():



More information about the grass-commit mailing list