[GRASS-SVN] r69248 - grass/trunk/gui/wxpython/tplot

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 24 06:29:22 PDT 2016


Author: lucadelu
Date: 2016-08-24 06:29:22 -0700 (Wed, 24 Aug 2016)
New Revision: 69248

Modified:
   grass/trunk/gui/wxpython/tplot/frame.py
Log:
g.gui.tplot: replace copied code with existing function

Modified: grass/trunk/gui/wxpython/tplot/frame.py
===================================================================
--- grass/trunk/gui/wxpython/tplot/frame.py	2016-08-24 13:26:43 UTC (rev 69247)
+++ grass/trunk/gui/wxpython/tplot/frame.py	2016-08-24 13:29:22 UTC (rev 69248)
@@ -133,9 +133,7 @@
         if self._giface.GetMapDisplay():
             self.coorval.OnClose()
             self.cats.OnClose()
-        if self.dbif.connected is True:
-            self.dbif.close()
-        tgis.stop_subprocesses()
+        self.__del__()
         self.Destroy()
 
     def _layout(self):



More information about the grass-commit mailing list