Correct disabling line to the label.
--HG-- branch : develop
This commit is contained in:
parent
ac5c8d8201
commit
4977604106
|
@ -340,7 +340,7 @@ QVector<QPointF> VAbstractDetail::CheckLoops(const QVector<QPointF> &points)
|
||||||
{ // Break, but not if intersects the first edge and the last edge in closed path
|
{ // Break, but not if intersects the first edge and the last edge in closed path
|
||||||
if (line1.p1() != crosPoint && line1.p2() != crosPoint &&
|
if (line1.p1() != crosPoint && line1.p2() != crosPoint &&
|
||||||
line2.p1() != crosPoint && line2.p2() != crosPoint)
|
line2.p1() != crosPoint && line2.p2() != crosPoint)
|
||||||
{
|
{ // Break, but not if loop creates crosPoint when it is first or last point of lines
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,6 +108,7 @@ void VToolSinglePoint::setName(const QString &name)
|
||||||
void VToolSinglePoint::SetEnabled(bool enabled)
|
void VToolSinglePoint::SetEnabled(bool enabled)
|
||||||
{
|
{
|
||||||
SetToolEnabled(this, enabled);
|
SetToolEnabled(this, enabled);
|
||||||
|
SetToolEnabled(lineName, enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user