Update cursorManager.py

This commit is contained in:
chrys87 2016-09-23 13:00:01 +02:00 committed by GitHub
parent 47ac664e6b
commit 7b6e48589f

View File

@ -39,4 +39,7 @@ class cursorManager():
self.env['screenData']['newCursorReview'] = None self.env['screenData']['newCursorReview'] = None
def isReviewMode(self): def isReviewMode(self):
return self.env['screenData']['newCursorReview'] != None return self.env['screenData']['newCursorReview'] != None
def enterReviewModeCurrTextCursor(self):
self.env['screenData']['oldCursorReview'] = self.env['screenData']['newCursorReview']
if not self.env['screenData']['newCursorReview']:
self.env['screenData']['newCursorReview'] = self.env['screenData']['newCursor'].copy()