From 68e3c9c4abafc4b4d5da8daa21bc176447bf3ad6 Mon Sep 17 00:00:00 2001 From: Aleksey Sadovoy Date: Wed, 2 Feb 2011 13:21:39 +0200 Subject: [PATCH] Reinitialize braille when reverting to saved configuration. Fixes #1346 Fixes #1346. --- source/core.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/core.py b/source/core.py index 4ea205ec8..7889cce2b 100644 --- a/source/core.py +++ b/source/core.py @@ -85,8 +85,11 @@ def resetConfiguration(): """Loads the configuration, installs the correct language support and initialises audio so that it will use the configured synth and speech settings. """ import config + import braille import speech import languageHandler + log.debug("Terminating braille") + braille.terminate() log.debug("terminating speech") speech.terminate() log.debug("Reloading config") @@ -99,6 +102,9 @@ def resetConfiguration(): #Speech log.debug("initializing speech") speech.initialize() + #braille + log.debug("Initializing braille") + braille.initialize() log.info("Reverted to saved configuration") def main(): -- 2.11.0