Browse Source

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 years ago
parent
commit
8a2f69192d
1 changed files with 4 additions and 3 deletions
  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()
             self.dbif.close()
         tgis.stop_subprocesses()
         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()
         self.Destroy()
 
 
     def _layout(self):
     def _layout(self):