Update scene rect after lite parcing.

--HG--
branch : develop
This commit is contained in:
dismine 2014-10-28 15:17:43 +02:00
parent 5b15b04a26
commit 329c459448

View File

@ -792,6 +792,9 @@ void VPattern::LiteParseTree(const Document &parse)
nameActivPP = namePP; nameActivPP = namePP;
setCurrentData(); setCurrentData();
emit FullUpdateFromFile(); emit FullUpdateFromFile();
// Recalculate scene rect
VAbstractTool::NewSceneRect(sceneDraw, qApp->getSceneView());
VAbstractTool::NewSceneRect(sceneDetail, qApp->getSceneView());
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------