mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Don't allow to cut/copy inserts via Drag/Drop
It was already verboten via ctrl-x/c/v since copying inserts using the same I/O makes no sense, nor does moving them.
This commit is contained in:
parent
258b95834f
commit
1fa2d15a9d
1 changed files with 3 additions and 0 deletions
|
|
@ -1985,6 +1985,9 @@ ProcessorBox::object_drop (DnDVBox<ProcessorEntry>* source, ProcessorEntry* posi
|
||||||
if (boost::dynamic_pointer_cast<UnknownProcessor> ((*i)->processor())) {
|
if (boost::dynamic_pointer_cast<UnknownProcessor> ((*i)->processor())) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (boost::dynamic_pointer_cast<PortInsert> ((*i)->processor())) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
procs.push_back ((*i)->processor ());
|
procs.push_back ((*i)->processor ());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue