Skip to content

Commit

Permalink
Fix up of: Abstract vision framework with included support for focus,…
Browse files Browse the repository at this point in the history
… navigator object and browse mode caret highlighting (PR nvaccess#9064)
  • Loading branch information
JulienCochuyt committed Sep 1, 2019
1 parent 2a13056 commit 327486a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/vision/visionHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,11 @@ def handleMouseMove(self, obj, x: int, y: int) -> None:
def handleConfigProfileSwitch(self) -> None:
configuredProviders = set(config.conf['vision']['providers'])
curProviders = set(self.providers)
rovidersToInitialize = configuredProviders - curProviders
providersToInitialize = configuredProviders - curProviders
providersToTerminate = curProviders - configuredProviders
for provider in providersToTerminate:
self.terminateProvider(provider)
for provider in rovidersToInitialize:
for provider in providersToInitialize:
self.initializeProvider(provider)

def initialFocus(self) -> None:
Expand Down

0 comments on commit 327486a

Please sign in to comment.