Explorar o código

wxGUI/swipe: remove rendered images after quitting

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

+ 2 - 0
gui/wxpython/swipe/frame.py

@@ -364,6 +364,8 @@ class SwipeMapFrame(DoubleMapFrame):
                    entry = 'wxGUI.MapSwipe')
 
     def OnCloseWindow(self, event):
+        self.GetFirstMap().Clean()
+        self.GetSecondMap().Clean()
         self.Destroy()