Ignore:
Timestamp:
2016-02-03T15:03:32+01:00 (8 years ago)
Author:
bastiK
Message:

applied #12369 - default extension for saving files read from preferences: fixes (patch by kolesar)

File:
1 edited

Legend:

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

    r9702 r9721  
    198198            // No filefilter accepts current filename, add default extension
    199199            String fn = file.getPath();
    200             if (extension != null) {
     200            if (extension != null && ff.accept(new File(fn + '.' + extension))) {
    201201                fn += '.' + extension;
    202202            } else if (ff instanceof ExtensionFileFilter) {
Note: See TracChangeset for help on using the changeset viewer.