Changeset 327 in josm for trunk/src


Ignore:
Timestamp:
2007-09-23T23:07:31+02:00 (17 years ago)
Author:
framm
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/SaveActionBase.java

    r319 r327  
    126126                                }
    127127                                OsmWriter.output(new FileOutputStream(file), new OsmWriter.All(layer.data, false));
    128                                 if (!Main.pref.getBoolean("save.keepbackup"))
     128                                if (tmpFile != null && !Main.pref.getBoolean("save.keepbackup"))
    129129                                        tmpFile.delete();
    130130                        } else if (ExtensionFileFilter.filters[ExtensionFileFilter.CSV].acceptName(file.getPath())) {
Note: See TracChangeset for help on using the changeset viewer.