Merge pull request #3285 from Scrxtchy/hotkey-source-check

UI: Do not process unnamed sources for hotkeys
This commit is contained in:
Jim
2020-08-22 09:02:30 -07:00
committed by GitHub

View File

@@ -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;