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
|
@ -1985,6 +1985,9 @@ ProcessorBox::object_drop (DnDVBox<ProcessorEntry>* source, ProcessorEntry* posi
|
|||
if (boost::dynamic_pointer_cast<UnknownProcessor> ((*i)->processor())) {
|
||||
continue;
|
||||
}
|
||||
if (boost::dynamic_pointer_cast<PortInsert> ((*i)->processor())) {
|
||||
continue;
|
||||
}
|
||||
procs.push_back ((*i)->processor ());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user