[orca/gnome-3-20] Only treat cells with non-whitespace chars as real active descendants
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-20] Only treat cells with non-whitespace chars as real active descendants
- Date: Fri, 22 Apr 2016 20:01:51 +0000 (UTC)
commit 6717f802f9fe16009e47a617ff77ba32613751b0
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Apr 22 15:59:52 2016 -0400
Only treat cells with non-whitespace chars as real active descendants
src/orca/script_utilities.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index bd39af5..b93808f 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1657,7 +1657,7 @@ class Utilities:
except NotImplementedError:
continue
else:
- if text.getText(0, text.characterCount):
+ if text.getText(0, -1).strip():
activeDescendant = child
self._script.generatorCache[self.REAL_ACTIVE_DESCENDANT][obj] = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]