Ignore:
Timestamp:
2011-08-28T13:58:57+02:00 (13 years ago)
Author:
bastiK
Message:

no duplicate entries in file history

File:
1 edited

Legend:

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

    r4371 r4374  
    245245        Collection<String> oldHistory = Main.pref.getCollection("file-open.history");
    246246        List<String> history = new LinkedList<String>(oldHistory);
     247        history.remove(filepath);
    247248        history.add(0, filepath);
    248249        Main.pref.putCollectionBounded("file-open.history", maxsize, history);
Note: See TracChangeset for help on using the changeset viewer.