浏览代码

wxGUI Vector Network Analysis Tool: fix close dialog (#419)

Tomas Zigo 5 年之前
父节点
当前提交
16d3d07ad8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gui/wxpython/vnet/dialogs.py

+ 1 - 0
gui/wxpython/vnet/dialogs.py

@@ -820,6 +820,7 @@ class VNETDialog(wx.Dialog):
     def OnCloseDialog(self, event):
         """Cancel dialog"""
         self.vnet_mgr.CleanUp()
+        self._mgr.UnInit()
         toolSwitcher = self.giface.GetMapDisplay().GetToolSwitcher()
         toolSwitcher.RemoveToolbarFromGroup(
             'mouseUse', self.toolbars['pointsList'])