[orca: 1/2] Preserve "established" voice attribute from voice settings



commit 8610e37e6eb25ee4cbe5b5231f9b329f11bca75c
Author: Colomban Wendling <cwendling hypra fr>
Date:   Wed Jul 3 17:59:13 2019 +0200

    Preserve "established" voice attribute from voice settings
    
    Having no attributes has problematic side effects, including sayAll
    not working in web script.

 src/orca/acss.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/acss.py b/src/orca/acss.py
index 8449baac8..e33cdfd76 100644
--- a/src/orca/acss.py
+++ b/src/orca/acss.py
@@ -65,7 +65,7 @@ class ACSS(dict):
         props = props or {}
         if props:
             for k in props:
-                if k in ACSS.settings:
+                if k == 'established' or k in ACSS.settings:
                     # Do a 'deep copy' of the family.  Otherwise,
                     # the new ACSS shares the actual data with the
                     # props passed in.  This can cause unexpected


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]