Fix reading a detail node label position.

This commit is contained in:
Roman Telezhynskyi 2023-11-25 15:38:22 +02:00
parent c7379122a8
commit fef322116b

View File

@ -1945,6 +1945,8 @@ void VPattern::ParseNodePoint(const QDomElement &domElement, const Document &par
p->setIdObject(initData.idObject); p->setIdObject(initData.idObject);
p->setMode(Draw::Modeling); p->setMode(Draw::Modeling);
p->SetShowLabel(GetParametrBool(domElement, AttrShowLabel, trueStr)); p->SetShowLabel(GetParametrBool(domElement, AttrShowLabel, trueStr));
p->setMx(mx);
p->setMy(my);
initData.data->UpdateGObject(initData.id, p); initData.data->UpdateGObject(initData.id, p);
VNodePoint::Create(initData); VNodePoint::Create(initData);