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

UI: Do not process unnamed sources for hotkeys
This commit is contained in:
Jim authored and GitHub committed 2020-08-22 09:02:30 -07:00
commit 899ffa7f59
1 file changed
+1 -1
+1 -1
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;