Fix bug. Hide internal path if it doesn't have a parent.
--HG-- branch : develop
This commit is contained in:
parent
fe9dc90dc7
commit
86e7674920
|
@ -309,7 +309,7 @@ void VToolPiecePath::RefreshGeometry()
|
||||||
QPen pen = this->pen();
|
QPen pen = this->pen();
|
||||||
pen.setStyle(path.GetPenType());
|
pen.setStyle(path.GetPenType());
|
||||||
this->setPen(pen);
|
this->setPen(pen);
|
||||||
if (_referens > 0)
|
if (_referens > 0 && GetParentType() == ParentType::Item)
|
||||||
{
|
{
|
||||||
setVisible(path.IsVisible(this->getData()->DataVariables()));
|
setVisible(path.IsVisible(this->getData()->DataVariables()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user