Do not allow to remove the triggerbox processor

This commit is contained in:
Robin Gareus 2022-03-07 22:51:57 +01:00
parent c29471373b
commit 4965c83ef3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 1 deletions

View File

@ -1419,7 +1419,7 @@ Route::clear_processors (Placement p)
bool
Route::is_internal_processor (boost::shared_ptr<Processor> p) const
{
if (p == _amp || p == _meter || p == _main_outs || p == _delayline || p == _trim || p == _polarity || (_volume && p == _volume)) {
if (p == _amp || p == _meter || p == _main_outs || p == _delayline || p == _trim || p == _polarity || (_volume && p == _volume) || (_triggerbox && p == _triggerbox)) {
return true;
}
#ifdef MIXBUS