/**\r
* Operation to undo a delete of a single photo, either with or without point\r
*/\r
-public class UndoDeletePhoto implements UndoOperation\r
+public class UndoDeletePhoto extends UndoDeleteOperation\r
{\r
private int _photoIndex = -1;\r
private Photo _photo = null;\r
*/\r
public String getDescription()\r
{\r
- String desc = I18nManager.getText("undo.removephoto") + " " + _photo.getFile().getName();\r
+ String desc = I18nManager.getText("undo.removephoto") + " " + _photo.getName();\r
return desc;\r
}\r
\r
{\r
throw new UndoException(getDescription());\r
}\r
+ // Change the current point/range selection if required\r
+ modifySelection(inTrackInfo, _pointIndex, _pointIndex);\r
}\r
else\r
{\r