478 { |
478 { |
479 str name = dlg.le_subfileName->text (); |
479 str name = dlg.le_subfileName->text (); |
480 if (~name == 0) |
480 if (~name == 0) |
481 return; // no subfile filename |
481 return; // no subfile filename |
482 |
482 |
483 LDOpenFile* file = loadSubfile (name); |
483 LDOpenFile* file = loadFile (name); |
484 if (!file) { |
484 if (!file) { |
485 critical (fmt ("Couldn't open `%s': %s", name.c (), strerror (errno))); |
485 critical (fmt ("Couldn't open `%s': %s", name.c (), strerror (errno))); |
486 return; |
486 return; |
487 } |
487 } |
488 |
488 |