소스 검색

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

Tomas Zigo 5 년 전
부모
커밋
352e6a7ab8
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'])