X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fundo%2FUndoDeletePhoto.java;h=4c37e616faf31f76c320ddaafe69e11edb00b982;hp=b2831f0301ab32c217ec81848074e2f1213facf7;hb=f35b6d628f68e3b5ef19965ad8988d0dd1eb8efa;hpb=3745d70b1427bb8ac1a085e47cbdc566936784e1 diff --git a/tim/prune/undo/UndoDeletePhoto.java b/tim/prune/undo/UndoDeletePhoto.java index b2831f0..4c37e61 100644 --- a/tim/prune/undo/UndoDeletePhoto.java +++ b/tim/prune/undo/UndoDeletePhoto.java @@ -38,7 +38,7 @@ public class UndoDeletePhoto implements UndoOperation */ public String getDescription() { - String desc = I18nManager.getText("undo.deletephoto") + " " + _photo.getFile().getName(); + String desc = I18nManager.getText("undo.removephoto") + " " + _photo.getFile().getName(); return desc; } @@ -66,8 +66,7 @@ public class UndoDeletePhoto implements UndoOperation } // Ensure that photo is associated with point and vice versa _photo.setDataPoint(_point); - if (_point != null) - { + if (_point != null) { _point.setPhoto(_photo); } }