Explorar el Código

wxGUI/profile: use SafeYield to prevent recursion error on Windows (merge from trunk, https://trac.osgeo.org/grass/changeset/64694)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@64695 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová hace 10 años
padre
commit
17c29392e6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gui/wxpython/mapwin/analysis.py

+ 1 - 1
gui/wxpython/mapwin/analysis.py

@@ -78,7 +78,7 @@ class AnalysisControllerBase:
         self._mapWindow.ClearLines()
         self._registeredGraphics.Draw(pdc=self._mapWindow.pdcTmp)
         self._mapWindow.Refresh()
-        wx.Yield()
+        wx.SafeYield()
 
         self._doAnalysis(coords)