From d97ac3bded5fbc80c0ab3850a5c5d1a24cc1e62b Mon Sep 17 00:00:00 2001 From: chrys87 Date: Fri, 23 Sep 2016 13:32:50 +0200 Subject: [PATCH] Update review_curr_word.py --- src/fenrir-package/commands/commands/review_curr_word.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fenrir-package/commands/commands/review_curr_word.py b/src/fenrir-package/commands/commands/review_curr_word.py index 39eda953..a39e097d 100644 --- a/src/fenrir-package/commands/commands/review_curr_word.py +++ b/src/fenrir-package/commands/commands/review_curr_word.py @@ -18,9 +18,7 @@ class command(): return 'current word.' def run(self): - self.env['screenData']['oldCursorReview'] = self.env['screenData']['newCursorReview'] - if not self.env['screenData']['newCursorReview']: - self.env['screenData']['newCursorReview'] = self.env['screenData']['newCursor'].copy() + self.env['runtime']['cursorManager'].enterReviewModeCurrTextCursor() self.env['screenData']['newCursorReview']['x'], self.env['screenData']['newCursorReview']['y'], currWord = \ word_utils.getCurrentWord(self.env['screenData']['newCursorReview']['x'], self.env['screenData']['newCursorReview']['y'], self.env['screenData']['newContentText'])