From: Michael Curran Date: Mon, 25 Oct 2010 08:41:57 +0000 (+1000) Subject: VirtualBuffer.prepare: force shouldPrepare to False so that if shouldPrepare is check... X-Git-Tag: jpdev130418~2130 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=4ce65e95ab095e83f5de753f11846b6384356455;p=nvdajp%2Fnvdajp.git VirtualBuffer.prepare: force shouldPrepare to False so that if shouldPrepare is checked again in the same core pump cycle after prepare is called it won't be True. --- diff --git a/source/virtualBuffers/__init__.py b/source/virtualBuffers/__init__.py index 11c538d9d..79cda508e 100644 --- a/source/virtualBuffers/__init__.py +++ b/source/virtualBuffers/__init__.py @@ -510,6 +510,7 @@ class VirtualBuffer(cursorManager.CursorManager, treeInterceptorHandler.TreeInte self.bindGestures(self.__gestures) def prepare(self): + self.shouldPrepare=False self.loadBuffer() def _get_shouldPrepare(self):