mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-27 18:13:16 -04:00
Merge pull request #3285 from Scrxtchy/hotkey-source-check
UI: Do not process unnamed sources for hotkeys
This commit is contained in:
@@ -2735,7 +2735,7 @@ void OBSBasicSettings::LoadHotkeySettings(obs_hotkey_id ignoreKey)
|
||||
|
||||
if (obs_scene_from_source(source))
|
||||
scenes.emplace_back(source, label, hw);
|
||||
else
|
||||
else if (obs_source_get_name(source) != NULL)
|
||||
sources.emplace_back(source, label, hw);
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user