fix(dispatch): dispatch help toggle when its not shown

fixes #1411
This commit is contained in:
kiyan 2022-07-09 14:42:14 +02:00
parent c037c7ae84
commit 95c57e034a

View File

@ -102,7 +102,7 @@ local function handle_tree_actions(action)
end
function M.dispatch(action)
if view.is_help_ui() then
if view.is_help_ui() or action == "toggle_help" then
handle_action_on_help_ui(action)
elseif action:match "live" ~= nil then
handle_filter_actions(action)