Update exit_review.py
This commit is contained in:
parent
68187b460e
commit
247e5445bd
@ -17,13 +17,11 @@ class command():
|
|||||||
return 'exits review mode'
|
return 'exits review mode'
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
if not (self.env['screenData']['oldCursorReview']) and \
|
if not self.env['runtime']['cursorManager'].isReviewMode():
|
||||||
(self.env['screenData']['newCursorReview']):
|
|
||||||
self.env['runtime']['outputManager'].presentText("Not in review mode", interrupt=True)
|
self.env['runtime']['outputManager'].presentText("Not in review mode", interrupt=True)
|
||||||
return
|
return
|
||||||
|
|
||||||
self.env['screenData']['oldCursorReview'] = None
|
self.env['runtime']['cursorManager'].clearReviewCursor()
|
||||||
self.env['screenData']['newCursorReview'] = None
|
|
||||||
self.env['runtime']['outputManager'].presentText("leve review mode", interrupt=True)
|
self.env['runtime']['outputManager'].presentText("leve review mode", interrupt=True)
|
||||||
|
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
|
Loading…
Reference in New Issue
Block a user