Changeset 1705 in josm


Ignore:
Timestamp:
Jun 27, 2009 11:52:56 AM (4 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.