Fix validation a grainline position.
This commit is contained in:
parent
f020a806d4
commit
62f84c06a5
|
@ -231,15 +231,14 @@ void VPattern::Parse(const Document &parse)
|
||||||
}
|
}
|
||||||
domNode = domNode.nextSibling();
|
domNode = domNode.nextSibling();
|
||||||
}
|
}
|
||||||
if (VApplication::VApp()->IsGUIMode())
|
if (VApplication::IsGUIMode())
|
||||||
{
|
{
|
||||||
QTimer::singleShot(1000, Qt::VeryCoarseTimer, this, SLOT(RefreshPieceGeometry()));
|
QTimer::singleShot(1000, Qt::VeryCoarseTimer, this, &VPattern::RefreshPieceGeometry);
|
||||||
}
|
}
|
||||||
else if (VApplication::VApp()->CommandLine()->IsTestModeEnabled())
|
else if (VApplication::VApp()->CommandLine()->IsTestModeEnabled())
|
||||||
{
|
{
|
||||||
RefreshPieceGeometry();
|
RefreshPieceGeometry();
|
||||||
}
|
}
|
||||||
emit CheckLayout();
|
|
||||||
m_parsing = false;
|
m_parsing = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3732,6 +3731,8 @@ void VPattern::RefreshPieceGeometry()
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
emit CheckLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user