Pins should be on top.
--HG-- branch : release
This commit is contained in:
parent
1a2def2bca
commit
f2f1a681ef
|
@ -3041,6 +3041,7 @@ void DialogSeamAllowance::ShowPins()
|
||||||
if (not qApp->getCurrentScene()->items().contains(m_visPins))
|
if (not qApp->getCurrentScene()->items().contains(m_visPins))
|
||||||
{
|
{
|
||||||
m_visPins->VisualMode(NULL_ID);
|
m_visPins->VisualMode(NULL_ID);
|
||||||
|
m_visPins->setZValue(10); // pins should be on top
|
||||||
VToolSeamAllowance *tool = qobject_cast<VToolSeamAllowance*>(VAbstractPattern::getTool(toolId));
|
VToolSeamAllowance *tool = qobject_cast<VToolSeamAllowance*>(VAbstractPattern::getTool(toolId));
|
||||||
SCASSERT(tool != nullptr);
|
SCASSERT(tool != nullptr);
|
||||||
m_visPins->setParentItem(tool);
|
m_visPins->setParentItem(tool);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user