diff --git a/orca/src/orca/speechdispatcherfactory.py b/orca/src/orca/speechdispatcherfactory.py index 8a2ef9d..62a3e6f 100644 --- a/orca/src/orca/speechdispatcherfactory.py +++ b/orca/src/orca/speechdispatcherfactory.py @@ -243,10 +243,12 @@ class SpeechServer(speechserver.SpeechServer): elif acss_property == ACSS.AVERAGE_PITCH: method(5.0) current[acss_property] = 5.0 - elif acss_property == ACSS.FAMILY and current.get(acss_property) \ + elif acss_property == ACSS.FAMILY \ and acss == settings.voices[settings.DEFAULT_VOICE]: # We need to explicitly reset (at least) the family. # See bgo#626072. + # Moreover, reset it when there no family is currently + # defined (i.e. current.get("family") is None). # method({}) current[acss_property] = {}