Unbreak structural navigation.
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user