From 9e5186ccbf103413f0bfa77f01a9201fba282d32 Mon Sep 17 00:00:00 2001 From: Leonard de Ruijter Date: Wed, 17 Jan 2018 20:51:58 +0100 Subject: [PATCH] Fix issue where config profile switches did not change the tether setting when manually tethered --- source/braille.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/braille.py b/source/braille.py index 397843da984..16636e895b9 100644 --- a/source/braille.py +++ b/source/braille.py @@ -3,7 +3,7 @@ #A part of NonVisual Desktop Access (NVDA) #This file is covered by the GNU General Public License. #See the file COPYING for more details. -#Copyright (C) 2008-2017 NV Access Limited, Joseph Lee, Babbage B.V., Davy Kager, Bram Duvigneau +#Copyright (C) 2008-2018 NV Access Limited, Joseph Lee, Babbage B.V., Davy Kager, Bram Duvigneau import sys import itertools @@ -1845,6 +1845,7 @@ def handleConfigProfileSwitch(self): display = config.conf["braille"]["display"] if display != self.display.name: self.setDisplayByName(display) + self._tether = config.conf["braille"]["tetherTo"] class _BgThread: """A singleton background thread used for background writes and raw braille display I/O.