[orca] Ensure we're not silent when a cell gains focus



commit 1b3e8ab14df846f8580c4512919b5afd8e756482
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Oct 9 16:02:57 2018 -0400

    Ensure we're not silent when a cell gains focus

 src/orca/speech_generator.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index 346383210..8b563672d 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -807,7 +807,8 @@ class SpeechGenerator(generator.Generator):
         oldRole = self._overrideRole('REAL_ROLE_TABLE_CELL', args)
         result.extend(self.generate(obj, **args))
         self._restoreRole(oldRole, args)
-        if not result and _settingsManager.getSetting('speakBlankLines') \
+        if not (result and result[0]) \
+           and _settingsManager.getSetting('speakBlankLines') \
            and not args.get('readingRow', False):
             result.append(messages.BLANK)
             if result:


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