From 38fca03d4a04a468393926ad427c076640df4420 Mon Sep 17 00:00:00 2001 From: chrys Date: Wed, 13 Feb 2019 23:27:20 +0100 Subject: [PATCH] fix return --- 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 d8d29683..80f5487f 100644 --- a/src/fenrirscreenreader/core/quickMenuManager.py +++ b/src/fenrirscreenreader/core/quickMenuManager.py @@ -62,7 +62,7 @@ class quickMenuManager(): self.env['runtime']['settingsManager'].setSettingAsFloat(self.quickMenu[self.position]['section'], self.quickMenu[self.position]['setting'], value) return True except: - pass + return False return True def prevValue(self): if len(self.quickMenu) == 0: @@ -86,7 +86,7 @@ class quickMenuManager(): self.env['runtime']['settingsManager'].setSettingAsFloat(self.quickMenu[self.position]['section'], self.quickMenu[self.position]['setting'], value) return True except: - pass + return False return True def getCurrentEntry(self): if len(self.quickMenu) == 0: