mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
Make route selections idempotent
This commit is contained in:
parent
98d8455098
commit
d28a13c9cc
1 changed files with 3 additions and 0 deletions
|
|
@ -72,6 +72,9 @@ RoutePropertiesBox::session_going_away ()
|
|||
void
|
||||
RoutePropertiesBox::set_route (std::shared_ptr<Route> r)
|
||||
{
|
||||
if (r == _route) {
|
||||
return;
|
||||
}
|
||||
assert (r);
|
||||
_route = r;
|
||||
_route_connections.drop_connections ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue