Update command completions when keyconf changes.
When a user changes keybindings, update the command completion model so the new keybindings are shown.
This commit is contained in:
parent
c050b4973b
commit
0a0f0feaec
@ -186,3 +186,7 @@ def init():
|
||||
history = objreg.get('web-history')
|
||||
history.async_read_done.connect(
|
||||
functools.partial(update, [usertypes.Completion.url]))
|
||||
|
||||
keyconf = objreg.get('key-config')
|
||||
keyconf.changed.connect(
|
||||
functools.partial(update, [usertypes.Completion.command]))
|
||||
|
Loading…
Reference in New Issue
Block a user