Browse Source

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

UI: Do not process unnamed sources for hotkeys
Jim 5 years ago
parent
commit
899ffa7f59
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/window-basic-settings.cpp

+ 1 - 1
UI/window-basic-settings.cpp

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