- Timestamp:
- 09/05/18 16:14:24 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/actions/Misc.java
r1108 r1110 757 757 final Path imagePath = imagesAbsoluteExternal.get(key).iterator().next(); 758 758 try { 759 FrameIO.copyFile(imagePath.toString(), imagesPath.resolve(imagePath.getFileName()).toString()); 760 final Path relative = imagesPath.relativize(imagePath); 759 Path p = imagesPath.resolve(imagePath.getFileName()); 760 FrameIO.copyFile(imagePath.toString(), p.toString()); 761 final Path relative = imagesPath.relativize(p); 761 762 key.setText(key.getText().replace(imagePath.toString(), relative.toString())); 762 763 MessageBay.displayMessage("Migrated image: " + imagePath + ". It now uses the relative path: " + relative);
Note:
See TracChangeset
for help on using the changeset viewer.