[GRASS-SVN] r65239 - grass/trunk/gui/wxpython/core
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 14 19:38:21 PDT 2015
Author: annakrat
Date: 2015-05-14 19:38:21 -0700 (Thu, 14 May 2015)
New Revision: 65239
Modified:
grass/trunk/gui/wxpython/core/render.py
Log:
wxGUI: recover after rendering fails
Modified: grass/trunk/gui/wxpython/core/render.py
===================================================================
--- grass/trunk/gui/wxpython/core/render.py 2015-05-15 02:13:28 UTC (rev 65238)
+++ grass/trunk/gui/wxpython/core/render.py 2015-05-15 02:38:21 UTC (rev 65239)
@@ -526,6 +526,9 @@
output = self.Map.mapfile,
env=self._env)
if ret != 0:
+ self._rendering = False
+ if wx.IsBusy():
+ wx.EndBusyCursor()
raise GException(_("Rendering failed: %s" % msg))
stop = time.time()
More information about the grass-commit
mailing list