Changeset 1110 for trunk


Ignore:
Timestamp:
09/05/18 16:14:24 (6 years ago)
Author:
bln4
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/actions/Misc.java

    r1108 r1110  
    757757                        final Path imagePath = imagesAbsoluteExternal.get(key).iterator().next();
    758758                        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);
    761762                                key.setText(key.getText().replace(imagePath.toString(), relative.toString()));
    762763                                MessageBay.displayMessage("Migrated image: " + imagePath + ".  It now uses the relative path: " + relative);
Note: See TracChangeset for help on using the changeset viewer.