Browse Source

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á 10 năm trước cách đây
mục cha
commit
17c29392e6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)