Refresh piece geometry if in test mode.
--HG-- branch : develop
This commit is contained in:
parent
81bde9bb95
commit
be7d0692a4
|
@ -236,7 +236,14 @@ void VPattern::Parse(const Document &parse)
|
|||
}
|
||||
domNode = domNode.nextSibling();
|
||||
}
|
||||
if (qApp->IsGUIMode())
|
||||
{
|
||||
QTimer::singleShot(1000, Qt::VeryCoarseTimer, this, SLOT(RefreshPieceGeometry()));
|
||||
}
|
||||
else if (qApp->CommandLine()->IsTestModeEnabled())
|
||||
{
|
||||
RefreshPieceGeometry();
|
||||
}
|
||||
emit CheckLayout();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user