src/toolsets/extprogramtoolset.cpp

changeset 1256
3fea6bc1519b
parent 1164
eabcd749759a
child 1262
f6b253c17643
equal deleted inserted replaced
1252:db1d4917626f 1256:3fea6bc1519b
320 320
321 for (LDColor color : colorsToReplace) 321 for (LDColor color : colorsToReplace)
322 m_window->deleteByColor (color); 322 m_window->deleteByColor (color);
323 323
324 // Insert the new objects 324 // Insert the new objects
325 currentDocument()->clearSelection(); 325 mainWindow()->clearSelection();
326 326
327 for (LDObject* object : model.objects()) 327 for (LDObject* object : model.objects())
328 { 328 {
329 if (object->isScemantic()) 329 if (object->isScemantic())
330 currentDocument()->addObject(object); 330 currentDocument()->addObject(object);

mercurial