mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 21:56:30 +01:00
[Summary] Fixing the following bugs:
- INSPECTOR's Mixer Strip should be "NO SELF DESTRUCT" - When a RouteUI object is non-self-destruct, it should "reset ()" instead of "delete this";
This commit is contained in:
parent
dd51b638bc
commit
c666cd922f
2 changed files with 5 additions and 4 deletions
|
|
@ -185,9 +185,10 @@ RouteUI::set_route (boost::shared_ptr<Route> rp)
|
||||||
set_color (unique_random_color());
|
set_color (unique_random_color());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (self_destruct) {
|
rp->DropReferences.connect (route_connections,
|
||||||
rp->DropReferences.connect (route_connections, invalidator (*this), boost::bind (&RouteUI::self_delete, this), gui_context());
|
invalidator (*this),
|
||||||
}
|
boost::bind (self_destruct ? &RouteUI::self_delete : &RouteUI::reset,
|
||||||
|
this), gui_context());
|
||||||
|
|
||||||
mute_button.set_controllable (_route->mute_control());
|
mute_button.set_controllable (_route->mute_control());
|
||||||
solo_button.set_controllable (_route->solo_control());
|
solo_button.set_controllable (_route->solo_control());
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<RouteUI bgnormal="#383838">
|
<RouteUI bgnormal="#383838" selfdestruct="false">
|
||||||
<VBox>
|
<VBox>
|
||||||
<VBox>
|
<VBox>
|
||||||
<HBox>
|
<HBox>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue