diff --git a/src/libs/vtools/tools/nodeDetails/vtoolpiecepath.cpp b/src/libs/vtools/tools/nodeDetails/vtoolpiecepath.cpp index df684936c..a7fa08f43 100644 --- a/src/libs/vtools/tools/nodeDetails/vtoolpiecepath.cpp +++ b/src/libs/vtools/tools/nodeDetails/vtoolpiecepath.cpp @@ -309,7 +309,7 @@ void VToolPiecePath::RefreshGeometry() QPen pen = this->pen(); pen.setStyle(path.GetPenType()); this->setPen(pen); - if (_referens > 0) + if (_referens > 0 && GetParentType() == ParentType::Item) { setVisible(path.IsVisible(this->getData()->DataVariables())); }