mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
libobs: Do not save hotkeys for private sources
This commit is contained in:
parent
d68eff6bf6
commit
e37f6b3bd6
@ -206,7 +206,7 @@ obs_hotkey_id obs_hotkey_register_service(obs_service_t *service,
|
||||
obs_hotkey_id obs_hotkey_register_source(obs_source_t *source, const char *name,
|
||||
const char *description, obs_hotkey_func func, void *data)
|
||||
{
|
||||
if (!source || !lock())
|
||||
if (!source || source->context.private || !lock())
|
||||
return OBS_INVALID_HOTKEY_ID;
|
||||
|
||||
obs_hotkey_id id = obs_hotkey_register_internal(
|
||||
|
Loading…
Reference in New Issue
Block a user