]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/function/PhotoPopupFunction.java
Version 13, August 2011
[GpsPrune.git] / tim / prune / function / PhotoPopupFunction.java
index 6b8b3e016143861f3caf648ce7f5dba03be381e4..1a81be110ad7636a6a314b8e44942be8e71887b1 100644 (file)
@@ -71,8 +71,8 @@ public class PhotoPopupFunction extends GenericFunction
        {
                _frame.setVisible(false);
                Photo photo = _app.getTrackInfo().getCurrentPhoto();
-               _frame.setTitle(photo.getFile().getName());
-               _label.setText("'" + photo.getFile().getName() + "' ("
+               _frame.setTitle(photo.getName());
+               _label.setText("'" + photo.getName() + "' ("
                        + photo.getWidth() + " x " + photo.getHeight() + ")");
                _photoThumb.setPhoto(photo);
        }