[GRASS-SVN] r52448 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 25 08:24:32 PDT 2012


Author: annakrat
Date: 2012-07-25 08:24:32 -0700 (Wed, 25 Jul 2012)
New Revision: 52448

Modified:
   grass/trunk/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: rerender map when command finished

Modified: grass/trunk/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/goutput.py	2012-07-25 09:03:59 UTC (rev 52447)
+++ grass/trunk/gui/wxpython/gui_core/goutput.py	2012-07-25 15:24:32 UTC (rev 52448)
@@ -949,6 +949,9 @@
                                                                     param = p.get('name', ''))
                             
                             if mapTree.GetMap().GetListOfLayers(l_name = name):
+                                display = mapTree.GetMapDisplay()
+                                if display and display.IsAutoRendered():
+                                    display.GetWindow().UpdateMap(render = True)
                                 continue
                             
                             if prompt == 'raster':



More information about the grass-commit mailing list