瀏覽代碼

wxGUI/g.gui.image2target: fix close window (dissociate the managed window from the AuiManager) (#1038)

Tomas Zigo 4 年之前
父節點
當前提交
771d8fe129
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gui/wxpython/image2target/ii2t_manager.py

+ 1 - 0
gui/wxpython/image2target/ii2t_manager.py

@@ -1814,6 +1814,7 @@ class GCP(MapFrame, ColumnSorterMixin):
             self.TgtMap.Clean()
 
             self.grwiz.Cleanup()
+            self._mgr.UnInit()
 
             self.Destroy()