Browse Source

UI: Fix mixer hide toggle in studio mode

If the user would toggle hide in mixer in studio mode,
the source would show up in audio mixer, even if it
wasn't active.
cg2121 3 years ago
parent
commit
24e4cd1717
1 changed files with 2 additions and 0 deletions
  1. 2 0
      UI/window-basic-main.cpp

+ 2 - 0
UI/window-basic-main.cpp

@@ -3531,6 +3531,8 @@ void OBSBasic::ActivateAudioSource(OBSSource source)
 {
 	if (SourceMixerHidden(source))
 		return;
+	if (!obs_source_active(source))
+		return;
 	if (!obs_source_audio_active(source))
 		return;