X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2FRemovePhotoFunction.java;h=8cdf7bcf3cc935bddf3c47a374b85e460db1db66;hp=b09ae102958eddc8b7d19b8705629f6f2fd71502;hb=649c5da6ee1bbc590699e11a92316ece2ea8512d;hpb=eebbb64b5d63f9eea43a0dff908c30361a376768 diff --git a/tim/prune/function/RemovePhotoFunction.java b/tim/prune/function/RemovePhotoFunction.java index b09ae10..8cdf7bc 100644 --- a/tim/prune/function/RemovePhotoFunction.java +++ b/tim/prune/function/RemovePhotoFunction.java @@ -62,7 +62,7 @@ public class RemovePhotoFunction extends GenericFunction } // Add undo information to stack if necessary if (photoDeleted) { - _app.completeFunction(undoAction, currentPhoto.getFile().getName() + " " + I18nManager.getText("confirm.media.removed")); + _app.completeFunction(undoAction, currentPhoto.getName() + " " + I18nManager.getText("confirm.media.removed")); } } }