136 le_subfileName = new QLineEdit; |
136 le_subfileName = new QLineEdit; |
137 le_subfileName->setFocus (); |
137 le_subfileName->setFocus (); |
138 |
138 |
139 if (obj) { |
139 if (obj) { |
140 LDSubfile* ref = static_cast<LDSubfile*> (obj); |
140 LDSubfile* ref = static_cast<LDSubfile*> (obj); |
141 le_subfileName->setText (ref->fileName); |
141 le_subfileName->setText (ref->fileInfo ()->name ()); |
142 } |
142 } |
143 break; |
143 break; |
144 |
144 |
145 case LDObject::Radial: |
145 case LDObject::Radial: |
146 coordCount = 3; |
146 coordCount = 3; |
452 LDSubfile* ref = initObj<LDSubfile> (obj); |
452 LDSubfile* ref = initObj<LDSubfile> (obj); |
453 |
453 |
454 for (const Axis ax : g_Axes) |
454 for (const Axis ax : g_Axes) |
455 ref->setCoordinate (ax, dlg.dsb_coords[ax]->value ()); |
455 ref->setCoordinate (ax, dlg.dsb_coords[ax]->value ()); |
456 |
456 |
457 ref->fileName = name; |
|
458 ref->setTransform (transform); |
457 ref->setTransform (transform); |
459 ref->fileInfo = file; |
458 ref->setFileInfo (file); |
460 } |
459 } |
461 break; |
460 break; |
462 |
461 |
463 default: |
462 default: |
464 break; |
463 break; |