--- a/src/addObjectDialog.cpp Fri May 17 03:11:47 2013 +0300 +++ b/src/addObjectDialog.cpp Fri May 17 11:53:28 2013 +0300 @@ -481,8 +481,10 @@ return; // no subfile filename OpenFile* file = loadSubfile (name); - if (!file) + if (!file) { + critical (fmt ("Couldn't open `%s': %s", name.c (), strerror (errno))); return; + } LDSubfile* ref = initObj<LDSubfile> (obj); ref->color = dlg.dColor;