[pypy-svn] r18166 - pypy/dist/pypy/translator/tool/pygame

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Oct 4 21:48:33 CEST 2005


Author: cfbolz
Date: Tue Oct  4 21:48:32 2005
New Revision: 18166

Modified:
   pypy/dist/pypy/translator/tool/pygame/graphdisplay.py
Log:
I guess the redraw should be done _after_ the reload.


Modified: pypy/dist/pypy/translator/tool/pygame/graphdisplay.py
==============================================================================
--- pypy/dist/pypy/translator/tool/pygame/graphdisplay.py	(original)
+++ pypy/dist/pypy/translator/tool/pygame/graphdisplay.py	Tue Oct  4 21:48:32 2005
@@ -420,8 +420,8 @@
 
     def reload(self):
         self.setstatusbar('reloading...')
-        self.redraw_now()
         self.layout.request_reload()
+        self.redraw_now()
 
     def setstatusbar(self, text, fgcolor=None, bgcolor=None):
         info = (text, fgcolor or self.STATUSBAR_FGCOLOR, bgcolor or self.STATUSBAR_BGCOLOR)



More information about the Pypy-commit mailing list