Changeset 1659 in josm
- Timestamp:
- 2009-06-10T16:19:41+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SaveAction.java
r1648 r1659 31 31 @Override public File getFile(Layer layer) { 32 32 File f = layer.getAssociatedFile(); 33 if(f != null && layer instanceof GpxLayer && f.exists() && 1 != 33 if(f != null && ! f.exists()) 34 f=null; 35 if(f != null && layer instanceof GpxLayer && 1 != 34 36 new ExtendedDialog(Main.parent, tr("Overwrite"), 35 37 tr("File {0} exists. Overwrite?", f.getName()),
Note:
See TracChangeset
for help on using the changeset viewer.