fix(instructions): RemoveSinkInput stay on selection
This commit is contained in:
@@ -262,7 +262,7 @@ impl Mixer {
|
|||||||
|
|
||||||
if self.sink_inputs.remove(&sink_index).is_some() {
|
if self.sink_inputs.remove(&sink_index).is_some() {
|
||||||
if sink_index == current_key
|
if sink_index == current_key
|
||||||
|| removed_sink_input_index <= selected_index
|
|| removed_sink_input_index < selected_index
|
||||||
{
|
{
|
||||||
self.select_previous();
|
self.select_previous();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user