diff --git a/src/app/xml/vpattern.cpp b/src/app/xml/vpattern.cpp index 5312563d1..56eebc8aa 100644 --- a/src/app/xml/vpattern.cpp +++ b/src/app/xml/vpattern.cpp @@ -792,6 +792,9 @@ void VPattern::LiteParseTree(const Document &parse) nameActivPP = namePP; setCurrentData(); emit FullUpdateFromFile(); + // Recalculate scene rect + VAbstractTool::NewSceneRect(sceneDraw, qApp->getSceneView()); + VAbstractTool::NewSceneRect(sceneDetail, qApp->getSceneView()); } //---------------------------------------------------------------------------------------------------------------------