From f47b5a07920e2dc67653d56f8e4ac9de94b27ca5 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 17 Dec 2025 14:17:26 -0500 Subject: [PATCH] Unbreak structural navigation. --- src/cthulhu/scripts/web/script.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cthulhu/scripts/web/script.py b/src/cthulhu/scripts/web/script.py index 3222635..a27f874 100644 --- a/src/cthulhu/scripts/web/script.py +++ b/src/cthulhu/scripts/web/script.py @@ -1539,11 +1539,15 @@ class Script(default.Script): msg = "WEB: Locus of focus changed to non-document obj" self._madeFindAnnouncement = False self._inFocusMode = False - msg = "locus of focus no longer in document" + self._setNavigationSuspended(True, "focus left document content") debug.printMessage(debug.LEVEL_INFO, msg, True) self.refreshKeyGrabs() return False + # Focus is in document content - unsuspend navigation if it was suspended + if self._navSuspended: + self._setNavigationSuspended(False, "focus entered document content") + if self.flatReviewPresenter.is_active(): self.flatReviewPresenter.quit()