OSDN Git Service

VirtualBuffer.prepare: force shouldPrepare to False so that if shouldPrepare is check...
authorMichael Curran <mick@kulgan.net>
Mon, 25 Oct 2010 08:41:57 +0000 (18:41 +1000)
committerMichael Curran <mick@kulgan.net>
Mon, 25 Oct 2010 08:41:57 +0000 (18:41 +1000)
source/virtualBuffers/__init__.py

index 11c538d..79cda50 100644 (file)
@@ -510,6 +510,7 @@ class VirtualBuffer(cursorManager.CursorManager, treeInterceptorHandler.TreeInte
                self.bindGestures(self.__gestures)\r
 \r
        def prepare(self):\r
+               self.shouldPrepare=False\r
                self.loadBuffer()\r
 \r
        def _get_shouldPrepare(self):\r