diff options
author | Robin Gareus <robin@gareus.org> | 2019-08-23 01:05:57 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-08-23 01:05:57 +0200 |
commit | b858b3b6924dcda7cab1f9cc9c3767e7c6c64ce6 (patch) | |
tree | e69d795aefcc1773ef940ecc03fe95e3b370d2e3 /libs | |
parent | 22aa61b674b12e833b36b870a5b891997dea618a (diff) |
Detect monitor-send by instance, not name
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/route.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index a83e550c00..075ccd72c1 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -4534,10 +4534,10 @@ Route::nth_send (uint32_t n) const for (i = _processors.begin(); i != _processors.end(); ++i) { if (boost::dynamic_pointer_cast<Send> (*i)) { - if ((*i)->name().find (_("Monitor")) == 0) { + if ((*i) == _monitor_send) { /* send to monitor section is not considered - to be an accessible send. - */ + * to be an accessible send. + */ continue; } |