diff --git a/src/plugins/score-lib-process/Process/Dataflow/PortItem.cpp b/src/plugins/score-lib-process/Process/Dataflow/PortItem.cpp index 9a3993e128..3ed1c86e60 100644 --- a/src/plugins/score-lib-process/Process/Dataflow/PortItem.cpp +++ b/src/plugins/score-lib-process/Process/Dataflow/PortItem.cpp @@ -11,6 +11,8 @@ #include #include #include +#include +#include #include @@ -674,6 +676,16 @@ void PortItem::dragEnterEvent(QGraphicsSceneDragDropEvent* event) update(); } } + else + { + auto fmt = event->mimeData()->formats(); + if(fmt.contains(score::mime::messagelist()) || fmt.contains(score::mime::nodelist())) + { + prepareGeometryChange(); + m_diam = 12.; + update(); + } + } event->accept(); }