src/toolsets/algorithmtoolset.cpp

changeset 1090
ed73c4f48ca4
parent 1081
47cde4087cc5
child 1112
d1d8be74275b
equal deleted inserted replaced
1089:97a539057536 1090:ed73c4f48ca4
528 } 528 }
529 } 529 }
530 530
531 // Create the new subfile document 531 // Create the new subfile document
532 LDDocument* subfile = m_window->newDocument(); 532 LDDocument* subfile = m_window->newDocument();
533 subfile->openForEditing();
534 subfile->setFullPath(fullsubname); 533 subfile->setFullPath(fullsubname);
535 subfile->setName(LDDocument::shortenName(fullsubname)); 534 subfile->setName(LDDocument::shortenName(fullsubname));
536 535
537 Model header {m_documents}; 536 Model header {m_documents};
538 header.emplace<LDComment>(subtitle); 537 header.emplace<LDComment>(subtitle);

mercurial