Browse Source

wxGUI/vdigit: refresh map canvas
(merge https://trac.osgeo.org/grass/changeset/39444 from devbr6)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39445 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 15 years ago
parent
commit
a9f6e457d8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      gui/wxpython/gui_modules/mapdisp_window.py

+ 2 - 0
gui/wxpython/gui_modules/mapdisp_window.py

@@ -2059,6 +2059,7 @@ class BufferedWindow(MapWindow, wx.Window):
                     self.polycoords = []
                     self.UpdateMap(render=False)
                     self.redrawAll = True
+                    self.Refresh()
                     
                     # add new record into atribute table
                     if UserSettings.Get(group='vdigit', key="addRecord", subkey='enabled') and \
@@ -2197,6 +2198,7 @@ class BufferedWindow(MapWindow, wx.Window):
                 self.UpdateMap(render=False)
 
             self.redrawAll = True
+            self.Refresh()
             
         event.Skip()