From a84bee851d02d8a565dc0af193736330b0dfff28 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 13 Mar 2024 01:47:43 -0400 Subject: [PATCH] Added setting readNumbersAsDigits. --- src/fenrirscreenreader/commands/onKeyInput/80000-capslock.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/fenrirscreenreader/commands/onKeyInput/80000-capslock.py b/src/fenrirscreenreader/commands/onKeyInput/80000-capslock.py index 7d5723b6..10db97e1 100644 --- a/src/fenrirscreenreader/commands/onKeyInput/80000-capslock.py +++ b/src/fenrirscreenreader/commands/onKeyInput/80000-capslock.py @@ -19,11 +19,9 @@ class command(): if self.env['input']['oldCapsLock'] == self.env['input']['newCapsLock']: return if self.env['input']['newCapsLock']: - oldKeyboardEcho = self.env['runtime']['outputManager'].presentText(_("Capslock on"), interrupt=True) - self.env['runtime']['settingsManager']('keyboard', 'charEcho') = True + self.env['runtime']['outputManager'].presentText(_("Capslock on"), interrupt=True) else: self.env['runtime']['outputManager'].presentText(_("Capslock off"), interrupt=True) - self.env['runtime']['settingsManager']('keyboard', 'charEcho') = oldKeyboardEcho def setCallback(self, callback): pass