Explorar o código

wxGUI: uninitialize aui manager when destroying map display to fix https://trac.osgeo.org/grass/ticket/3237

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70296 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová %!s(int64=8) %!d(string=hai) anos
pai
achega
012ef1fda7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      gui/wxpython/mapdisp/frame.py

+ 1 - 0
gui/wxpython/mapdisp/frame.py

@@ -855,6 +855,7 @@ class MapFrame(SingleMapFrame):
             if pgnum > -1:
                 self.layerbook.RemovePage(pgnum)
         Debug.msg(2, "MapFrame.OnCloseWindow(): function ends")
+        self._mgr.UnInit()
         self.Destroy()
 
     def Query(self, x, y):