Add a keybind for refreshing thread watcher

This commit is contained in:
Matěj Grabovský 2016-02-10 18:32:55 +01:00
parent f6da9b789b
commit 1a9a5cb305
2 changed files with 6 additions and 0 deletions

View File

@ -857,6 +857,10 @@ Config =
'r' 'r'
'Update the thread / refresh the index.' 'Update the thread / refresh the index.'
] ]
'Update thread watcher': [
'Shift+r'
'Manually refresh thread watcher.'
]
# Images # Images
'Expand image': [ 'Expand image': [
'Shift+e' 'Shift+e'

View File

@ -94,6 +94,8 @@ Keybinds =
when Conf['Watch'] when Conf['Watch']
return unless thread return unless thread
ThreadWatcher.toggle thread ThreadWatcher.toggle thread
when Conf['Update thread watcher']
ThreadWatcher.buttonFetchAll()
# Images # Images
when Conf['Expand image'] when Conf['Expand image']
return unless ImageExpand.enabled and threadRoot return unless ImageExpand.enabled and threadRoot