[GRASS-SVN] r52449 - grass/branches/develbranch_6/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 25 08:26:11 PDT 2012
Author: annakrat
Date: 2012-07-25 08:26:10 -0700 (Wed, 25 Jul 2012)
New Revision: 52449
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py
Log:
wxGUI: rerender map when command finished (merged from trunk, r52448)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py 2012-07-25 15:24:32 UTC (rev 52448)
+++ grass/branches/develbranch_6/gui/wxpython/gui_core/goutput.py 2012-07-25 15:26:10 UTC (rev 52449)
@@ -946,6 +946,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