mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-20 13:46: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());
|
||||
}
|
||||
|
||||
if (self_destruct) {
|
||||
rp->DropReferences.connect (route_connections, invalidator (*this), boost::bind (&RouteUI::self_delete, this), gui_context());
|
||||
}
|
||||
rp->DropReferences.connect (route_connections,
|
||||
invalidator (*this),
|
||||
boost::bind (self_destruct ? &RouteUI::self_delete : &RouteUI::reset,
|
||||
this), gui_context());
|
||||
|
||||
mute_button.set_controllable (_route->mute_control());
|
||||
solo_button.set_controllable (_route->solo_control());
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<RouteUI bgnormal="#383838">
|
||||
<RouteUI bgnormal="#383838" selfdestruct="false">
|
||||
<VBox>
|
||||
<VBox>
|
||||
<HBox>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue