From a0d82cd9dd5126650b99ce4f0a3f501273a525d6 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Fri, 23 Sep 2016 12:43:07 +0200 Subject: [PATCH] Update cursorManager.py --- src/fenrir-package/core/cursorManager.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fenrir-package/core/cursorManager.py b/src/fenrir-package/core/cursorManager.py index 2b0e429f..bd829423 100644 --- a/src/fenrir-package/core/cursorManager.py +++ b/src/fenrir-package/core/cursorManager.py @@ -23,10 +23,9 @@ class cursorManager(): self.env['commandBuffer']['Marks']['2'] = self.env['screenData']['newCursorReview'].copy() def getReviewOrTextCursor(self): if self.env['screenData']['newCursorReview']: - cursorPos = self.env['screenData']['newCursorReview'].copy() + return = self.env['screenData']['newCursorReview'].copy() else: - cursorPos = self.env['screenData']['newCursor'].copy() - return cursorPos + return = self.env['screenData']['newCursor'].copy() def clearReviewCursor(self): self.env['screenData']['oldCursorReview'] = None self.env['screenData']['newCursorReview'] = None