[orca] Work around Writer killing focused cell during row insertion/deletion
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Work around Writer killing focused cell during row insertion/deletion
- Date: Tue, 9 Oct 2018 22:34:54 +0000 (UTC)
commit 340abbaedefc66ea6f56fdd7ec6ffd4105527c26
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Oct 9 18:32:53 2018 -0400
Work around Writer killing focused cell during row insertion/deletion
src/orca/scripts/apps/soffice/script.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index 29325b8a5..0f98a28ba 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -655,6 +655,9 @@ class Script(default.Script):
if activeRow < 0 or activeCol < 0:
return
+ if self.utilities.isDead(orca_state.locusOfFocus):
+ orca.setLocusOfFocus(event, event.source, False)
+
self.utilities.handleUndoTextEvent(event)
rowCount, colCount = self.utilities.rowAndColumnCount(event.source)
if activeRow == rowCount:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]