diff -r 778eed342ee4 -r 2d71227f35cb src/addObjectDialog.cpp --- a/src/addObjectDialog.cpp Sat Jun 01 21:36:03 2013 +0300 +++ b/src/addObjectDialog.cpp Sat Jun 01 22:01:27 2013 +0300 @@ -138,7 +138,7 @@ if (obj) { LDSubfile* ref = static_cast (obj); - le_subfileName->setText (ref->fileName); + le_subfileName->setText (ref->fileInfo ()->name ()); } break; @@ -454,9 +454,8 @@ for (const Axis ax : g_Axes) ref->setCoordinate (ax, dlg.dsb_coords[ax]->value ()); - ref->fileName = name; ref->setTransform (transform); - ref->fileInfo = file; + ref->setFileInfo (file); } break;