[GRASS-SVN] r69821 - grass/branches/releasebranch_7_2/gui/wxpython/tplot

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 13 19:17:02 PST 2016


Author: annakrat
Date: 2016-11-13 19:17:02 -0800 (Sun, 13 Nov 2016)
New Revision: 69821

Modified:
   grass/branches/releasebranch_7_2/gui/wxpython/tplot/frame.py
Log:
g.gui.tplot: CoordinateSelect must be explicitely closed (merge from trunk, r69246)

Modified: grass/branches/releasebranch_7_2/gui/wxpython/tplot/frame.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/tplot/frame.py	2016-11-14 03:06:42 UTC (rev 69820)
+++ grass/branches/releasebranch_7_2/gui/wxpython/tplot/frame.py	2016-11-14 03:17:02 UTC (rev 69821)
@@ -130,9 +130,9 @@
         tgis.stop_subprocesses()
 
     def onClose(self, evt):
-        # this two lines return errors during exit
-        # self.coorval.OnClose()
-        # self.cats.OnClose()
+        if self._giface.GetMapDisplay():
+            self.coorval.OnClose()
+            self.cats.OnClose()
         self.Destroy()
 
     def _layout(self):



More information about the grass-commit mailing list