]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/undo/UndoDeletePhoto.java
Version 12, December 2010
[GpsPrune.git] / tim / prune / undo / UndoDeletePhoto.java
index b2831f0301ab32c217ec81848074e2f1213facf7..4c37e616faf31f76c320ddaafe69e11edb00b982 100644 (file)
@@ -38,7 +38,7 @@ public class UndoDeletePhoto implements UndoOperation
         */\r
        public String getDescription()\r
        {\r
-               String desc = I18nManager.getText("undo.deletephoto") + " " + _photo.getFile().getName();\r
+               String desc = I18nManager.getText("undo.removephoto") + " " + _photo.getFile().getName();\r
                return desc;\r
        }\r
 \r
@@ -66,8 +66,7 @@ public class UndoDeletePhoto implements UndoOperation
                }\r
                // Ensure that photo is associated with point and vice versa\r
                _photo.setDataPoint(_point);\r
-               if (_point != null)\r
-               {\r
+               if (_point != null) {\r
                        _point.setPhoto(_photo);\r
                }\r
        }\r