Improve GUI response. When we still are waiting for details refresh we can

trigger event processing and thus make GUI more responsible.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-12-10 13:06:53 +02:00
parent 2ec9e656eb
commit e891219528

View File

@ -3476,6 +3476,7 @@ void VPattern::RefreshPieceGeometry()
for(auto piece : qAsConst(updatePieces))
{
piece->RefreshGeometry(true); // Refresh internal paths
QApplication::processEvents();
}
updatePieces.clear();
VMainGraphicsView::NewSceneRect(sceneDetail, qApp->getSceneView());