Browse Source

wxGUI: rerender map when command finished

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52448 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 12 years ago
parent
commit
ece2badf1f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      gui/wxpython/gui_core/goutput.py

+ 3 - 0
gui/wxpython/gui_core/goutput.py

@@ -949,6 +949,9 @@ class GMConsole(wx.SplitterWindow):
                                                                     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':