Squashed commit of the following:
commit edef922902
Author: 409 <bloecker.s@gmail.com>
Date: Mon Jul 1 13:22:02 2024 +0200
feat: automatically select new sink input if the current selection is
none
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user