From 0d0aa28c564f85db7e6bd76bb996d83059aa0a76 Mon Sep 17 00:00:00 2001 From: Exeldro Date: Fri, 31 May 2024 08:18:24 +0200 Subject: [PATCH] requesthandler: Fix releasing hotkeys triggered by name --- src/requesthandler/RequestHandler_General.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/requesthandler/RequestHandler_General.cpp b/src/requesthandler/RequestHandler_General.cpp index a43d2af7..0bd5436d 100644 --- a/src/requesthandler/RequestHandler_General.cpp +++ b/src/requesthandler/RequestHandler_General.cpp @@ -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(); }