From c1c1789a86cd2d9595b444115336a30ecb620220 Mon Sep 17 00:00:00 2001 From: chrys Date: Thu, 22 Dec 2016 22:27:46 +0100 Subject: [PATCH] also play soundicon for curr word --- src/fenrir/commands/commands/review_curr_word.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/fenrir/commands/commands/review_curr_word.py b/src/fenrir/commands/commands/review_curr_word.py index 880faa50..3fca2785 100644 --- a/src/fenrir/commands/commands/review_curr_word.py +++ b/src/fenrir/commands/commands/review_curr_word.py @@ -27,6 +27,11 @@ class command(): self.env['runtime']['outputManager'].presentText("blank", interrupt=True) else: self.env['runtime']['outputManager'].presentText(currWord, interrupt=True) - + if endOfScreen: + if self.env['runtime']['settingsManager'].getSettingAsBool('review', 'endOfScreen'): + self.env['runtime']['outputManager'].presentText('end of screen' ,interrupt=False, soundIcon='EndOfScreen') + if lineBreak: + if self.env['runtime']['settingsManager'].getSettingAsBool('review', 'lineBreak'): + self.env['runtime']['outputManager'].presentText('line break' ,interrupt=False, soundIcon='EndOfLine') def setCallback(self, callback): pass