author | Laurent Bessard |
Tue, 13 Nov 2012 11:36:04 +0100 | |
changeset 880 | 781ced3c0aef |
parent 879 | 55b8a16ead2b |
child 881 | 68ac754a5a72 |
--- a/graphics/GraphicCommons.py Thu Nov 08 18:54:34 2012 +0100 +++ b/graphics/GraphicCommons.py Tue Nov 13 11:36:04 2012 +0100 @@ -370,6 +370,9 @@ self.DataConsumers = {} def ShouldRefresh(self): + wx.CallAfter(self._ShouldRefresh) + + def _ShouldRefresh(self): if DEBUG_REFRESH_LOCK.acquire(False): self.AccessLock.acquire() self.HasAcquiredLock = True