Ignore:
Timestamp:
2014-06-12T19:53:57+02:00 (10 years ago)
Author:
Don-vip
Message:

fix #10078 - fix map paint style reloading

File:
1 edited

Legend:

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

    r7189 r7244  
    7373                // Register directory. Can be called several times for a same directory without problem
    7474                // (it returns the same key so it should not send events several times)
    75                 dir.toPath().register(watcher, StandardWatchEventKinds.ENTRY_MODIFY);
    76                 dir.toPath().register(watcher, StandardWatchEventKinds.ENTRY_CREATE);
     75                dir.toPath().register(watcher, StandardWatchEventKinds.ENTRY_MODIFY, StandardWatchEventKinds.ENTRY_CREATE);
    7776                styleMap.put(file.toPath(), style);
    7877            }
Note: See TracChangeset for help on using the changeset viewer.