src/documentmanager.cpp

changeset 1231
ce0c9f2e6b9c
parent 1224
5a31b6d4bf81
child 1232
7eb8b59577d0
equal deleted inserted replaced
1230:29dc03eceb5f 1231:ce0c9f2e6b9c
350 load->addObjects(objs); 350 load->addObjects(objs);
351 351
352 if (m_loadingMainFile) 352 if (m_loadingMainFile)
353 { 353 {
354 m_window->changeDocument(load); 354 m_window->changeDocument(load);
355 m_window->renderer()->setDocument(load);
356 print(tr("File %1 parsed successfully(%2 errors)."), path, numWarnings); 355 print(tr("File %1 parsed successfully(%2 errors)."), path, numWarnings);
357 } 356 }
358 357
359 load->history()->setIgnoring(false); 358 load->history()->setIgnoring(false);
360 return load; 359 return load;

mercurial