浏览代码

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 年之前
父节点
当前提交
1c4d732faf
共有 1 个文件被更改,包括 2 次插入0 次删除
  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()