[GRASS-SVN] r73485 - grass/branches/releasebranch_7_4/gui/wxpython/mapwin

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 3 12:07:13 PDT 2018


Author: cmbarton
Date: 2018-10-03 12:07:13 -0700 (Wed, 03 Oct 2018)
New Revision: 73485

Modified:
   grass/branches/releasebranch_7_4/gui/wxpython/mapwin/buffered.py
Log:
fixed saving image from hanging due to bug in wait message

Modified: grass/branches/releasebranch_7_4/gui/wxpython/mapwin/buffered.py
===================================================================
--- grass/branches/releasebranch_7_4/gui/wxpython/mapwin/buffered.py	2018-10-03 10:46:03 UTC (rev 73484)
+++ grass/branches/releasebranch_7_4/gui/wxpython/mapwin/buffered.py	2018-10-03 19:07:13 UTC (rev 73485)
@@ -696,7 +696,7 @@
         self._fileType = FileType
         self._saveToFileCallback = callback
 
-        self._busy = wx.BusyInfo(message=_("Please wait, exporting image..."),
+        self._busy = wx.BusyInfo(_("Please wait, exporting image..."),
                                  parent=self)
         wx.Yield()
 
@@ -756,7 +756,6 @@
             self.pdcVector.DrawToDC(dc)
         ibuffer.SaveFile(self._fileName, self._fileType)
 
-        self._busy.Destroy()
         del self._busy
         del self._fileName
         del self._fileType



More information about the grass-commit mailing list