Changeset 1705 in josm for trunk/src


Ignore:
Timestamp:
2009-06-27T11:52:56+02:00 (15 years ago)
Author:
stoecker
Message:

fix #2706 - patch by bilbo - allow to set WMS cache path again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/CacheFiles.java

    r1610 r1705  
    5858       boolean dir_writeable;
    5959       this.ident = ident;
    60        this.dir = new File(pref + "/" + ident + "/cache/");
     60       String cacheDir = Main.pref.get("cache." + ident + "." + "path", pref + "/" + ident + "/cache/");
     61       this.dir = new File(cacheDir);
    6162       try {
    6263           this.dir.mkdirs();
Note: See TracChangeset for help on using the changeset viewer.