src/gui_actions.cpp

changeset 402
ec95fc95e5f3
parent 391
beef61ce962a
child 409
8da2563c645a
equal deleted inserted replaced
401:89a9235b47d3 402:ec95fc95e5f3
322 if (!f) { 322 if (!f) {
323 critical (fmt ("Couldn't open %1 (%2)", fname, strerror (errno))); 323 critical (fmt ("Couldn't open %1 (%2)", fname, strerror (errno)));
324 return; 324 return;
325 } 325 }
326 326
327 vector<LDObject*> objs = loadFileContents (&f, null); 327 List<LDObject*> objs = loadFileContents (&f, null);
328 328
329 g_win->sel().clear(); 329 g_win->sel().clear();
330 330
331 for (LDObject* obj : objs) { 331 for (LDObject* obj : objs) {
332 LDOpenFile::current()->insertObj (idx, obj); 332 LDOpenFile::current()->insertObj (idx, obj);

mercurial