Skip to content

Commit

Permalink
requesthandler: Fix releasing hotkeys triggered by name
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed May 31, 2024
1 parent 5b4aa9d commit 0d0aa28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/requesthandler/RequestHandler_General.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ RequestResult RequestHandler::TriggerHotkeyByName(const Request &request)
return RequestResult::Error(RequestStatus::ResourceNotFound, "No hotkeys were found by that name.");

obs_hotkey_trigger_routed_callback(obs_hotkey_get_id(hotkey), true);
obs_hotkey_trigger_routed_callback(obs_hotkey_get_id(hotkey), false);

return RequestResult::Success();
}
Expand Down

0 comments on commit 0d0aa28

Please sign in to comment.