Skip to content

Commit

Permalink
Fix issue where config profile switches did not change the tether set…
Browse files Browse the repository at this point in the history
…ting when manually tethered (#7919)
  • Loading branch information
LeonarddeR authored and michaelDCurran committed Jan 18, 2018
1 parent 057efc9 commit e6292ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/braille.py
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit e6292ba

Please sign in to comment.