Skip to content

Commit

Permalink
Merge branch 'toggleSingleLetterNav' into next. Fixes #5151. Incubates
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelDCurran committed Jun 15, 2015
2 parents b3c8514 + 342973d commit 1d9596f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/scriptHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ def findScript(gesture):
treeInterceptor = focus.treeInterceptor
if treeInterceptor and treeInterceptor.isReady:
func = _getObjScript(treeInterceptor, gesture, globalMapScripts)
func=treeInterceptor.getAlternativeScript(gesture,func)
from browseMode import BrowseModeTreeInterceptor
if isinstance(treeInterceptor,BrowseModeTreeInterceptor):
func=treeInterceptor.getAlternativeScript(gesture,func)
if func and (not treeInterceptor.passThrough or getattr(func,"ignoreTreeInterceptorPassThrough",False)):
return func

Expand Down

0 comments on commit 1d9596f

Please sign in to comment.