Deselect route when hiding it
The mixer allows to modify selected stripables via keyboard shortcuts (e.g. arrow up/down to modify gain) regardless of whether the stripable is hidden. This lead to accidental gain changes after hiding a strip.
This commit is contained in:
@@ -2289,6 +2289,9 @@ RouteUI::route_gui_changed (PropertyChange const& what_changed)
|
||||
route_color_changed ();
|
||||
}
|
||||
}
|
||||
if (what_changed.contains (Properties::hidden) && _route->is_hidden ()) {
|
||||
_session->selection().select_stripable_and_maybe_group (_route, SelectionRemove, false, false);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user