Jelajahi Sumber

g.gui.tplot: try to fix error during exit

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@67416 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 9 tahun lalu
induk
melakukan
8a2f69192d
1 mengubah file dengan 4 tambahan dan 3 penghapusan
  1. 4 3
      gui/wxpython/tplot/frame.py

+ 4 - 3
gui/wxpython/tplot/frame.py

@@ -126,9 +126,10 @@ class TplotFrame(wx.Frame):
             self.dbif.close()
         tgis.stop_subprocesses()
 
-    def onClose(self,evt):
-        self.coorval.OnClose()
-        self.cats.OnClose()
+    def onClose(self, evt):
+        # this two lines return errors during exit
+        # self.coorval.OnClose()
+        # self.cats.OnClose()
         self.Destroy()
 
     def _layout(self):