229 *cmb << g_win->deleteByColor (colnum); |
229 *cmb << g_win->deleteByColor (colnum); |
230 |
230 |
231 // Insert the new objects |
231 // Insert the new objects |
232 g_win->sel ().clear (); |
232 g_win->sel ().clear (); |
233 for (LDObject* obj : objs) { |
233 for (LDObject* obj : objs) { |
234 if (!obj->isSchemantic ()) { |
234 if (!obj->isScemantic ()) { |
235 delete obj; |
235 delete obj; |
236 continue; |
236 continue; |
237 } |
237 } |
238 |
238 |
239 ulong idx = g_curfile->addObject (obj); |
239 ulong idx = g_curfile->addObject (obj); |