Browse Source

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á 12 years ago
parent
commit
1c4d732faf
1 changed files with 2 additions and 0 deletions
  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')
                    entry = 'wxGUI.MapSwipe')
 
 
     def OnCloseWindow(self, event):
     def OnCloseWindow(self, event):
+        self.GetFirstMap().Clean()
+        self.GetSecondMap().Clean()
         self.Destroy()
         self.Destroy()