diff --git a/src/mixer.rs b/src/mixer.rs index ce1be16..d58a4d5 100644 --- a/src/mixer.rs +++ b/src/mixer.rs @@ -237,6 +237,10 @@ impl Mixer { let sink_input = result.lock().unwrap().take(); if let Some(sink_input) = sink_input { self.sink_inputs.insert(sink_index, sink_input); + + if self.selected_index.lock().unwrap().is_none() { + self.select_next(); + } } } PulseInstruction::RemoveSinkInput(sink_index) => {