mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +01:00
push2: let's not crash
This commit is contained in:
parent
741ff552a0
commit
f6cfa3c3e1
1 changed files with 3 additions and 3 deletions
|
|
@ -355,12 +355,12 @@ CueLayout::viewport_changed ()
|
|||
|
||||
_route[n] = _session.get_remote_nth_route (track_base+n);
|
||||
|
||||
_route[n]->DropReferences.connect (_route_connections, invalidator (*this), boost::bind (&CueLayout::viewport_changed, this), &_p2);
|
||||
_route[n]->presentation_info().PropertyChanged.connect (_route_connections, invalidator (*this), boost::bind (&CueLayout::route_property_change, this, _1, n), &_p2);
|
||||
|
||||
boost::shared_ptr<Route> r = _route[n];
|
||||
|
||||
if (r) {
|
||||
_route[n]->DropReferences.connect (_route_connections, invalidator (*this), boost::bind (&CueLayout::viewport_changed, this), &_p2);
|
||||
_route[n]->presentation_info().PropertyChanged.connect (_route_connections, invalidator (*this), boost::bind (&CueLayout::route_property_change, this, _1, n), &_p2);
|
||||
|
||||
std::string shortname = short_version (r->name(), 10);
|
||||
_lower_text[n]->set (shortname);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue