Pins should be on top.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2017-04-27 16:53:18 +03:00
parent 1a2def2bca
commit f2f1a681ef

View File

@ -3041,6 +3041,7 @@ void DialogSeamAllowance::ShowPins()
if (not qApp->getCurrentScene()->items().contains(m_visPins))
{
m_visPins->VisualMode(NULL_ID);
m_visPins->setZValue(10); // pins should be on top
VToolSeamAllowance *tool = qobject_cast<VToolSeamAllowance*>(VAbstractPattern::getTool(toolId));
SCASSERT(tool != nullptr);
m_visPins->setParentItem(tool);