diff --git a/test/PCBView/pcbvia.cpp b/test/PCBView/pcbvia.cpp --- a/test/PCBView/pcbvia.cpp +++ b/test/PCBView/pcbvia.cpp @@ -38,6 +38,7 @@ PCBVia::PCBVia(QIlib::QIcadPcbVia *viaNo void PCBVia::init(QPointF offset) { this->setCacheMode(QGraphicsItem::DeviceCoordinateCache); + this->setFlags(ItemIsMovable|ItemIsSelectable|ItemIsFocusable); offset-=QPointF(this->viaNode->size().width()/2,this->viaNode->size().height()/2); for(int i=0;iviaNode->layers().count();i++)