From 276c33c8340e86eb503ea0cdfc8569fca810283b Mon Sep 17 00:00:00 2001 From: chrys Date: Thu, 14 Feb 2019 00:15:04 +0100 Subject: [PATCH] finish quick menu --- src/fenrirscreenreader/core/quickMenuManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrirscreenreader/core/quickMenuManager.py b/src/fenrirscreenreader/core/quickMenuManager.py index 55c2fae6..2ac5626e 100644 --- a/src/fenrirscreenreader/core/quickMenuManager.py +++ b/src/fenrirscreenreader/core/quickMenuManager.py @@ -77,7 +77,7 @@ class quickMenuManager(): value += 0.05 if value > 1.0: value = 1.0 - self.env['runtime']['settingsManager'].setSetting(section, setting, str(value)[:3]) + self.env['runtime']['settingsManager'].setSetting(section, setting, str(value)[:4]) except Exception as e: return False return True @@ -111,7 +111,7 @@ class quickMenuManager(): value -= 0.05 if value < 0.0: value = 0.0 - self.env['runtime']['settingsManager'].setSetting(section, setting, str(value)[:3]) + self.env['runtime']['settingsManager'].setSetting(section, setting, str(value)[:4]) except Exception as e: return False return True