[ui] disable interactive connections on ListAttribute (not implemented yet)

This commit is contained in:
Yann Lanthony 2017-11-10 18:11:50 +01:00
parent 3ad62edcbb
commit 9b71af3303

View file

@ -54,7 +54,8 @@ Row {
// Filter drops:
if( drag.source.objectName != dragTarget.objectName // not an edge connector
|| drag.source.nodeItem == dragTarget.nodeItem // connection between attributes of the same node
|| (dragTarget.isOutput) // connection on an output
|| dragTarget.isOutput // connection on an output
|| dragTarget.isList // TEMP: disable connection to list
|| dragTarget.attribute.isLink) // already connected attribute
{
drag.accepted = false