- Timestamp:
- 2016-11-22T15:42:34+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/MergeLayerAction.java
r11123 r11290 18 18 import org.openstreetmap.josm.tools.ImageProvider; 19 19 import org.openstreetmap.josm.tools.Shortcut; 20 import org.openstreetmap.josm.tools.Utils; 20 21 21 22 /** … … 41 42 if (targetLayer == null) 42 43 return; 44 final Object actionName = MergeLayerAction.this.getValue(NAME); 43 45 Main.worker.submit(() -> { 46 final long start = System.currentTimeMillis(); 44 47 boolean layerMerged = false; 45 48 for (final Layer sourceLayer: sourceLayers) { … … 59 62 if (layerMerged) { 60 63 Main.getLayerManager().setActiveLayer(targetLayer); 64 Main.info(tr("{0} completed in {1}", actionName, Utils.getDurationString(System.currentTimeMillis() - start))); 61 65 } 62 66 });
Note:
See TracChangeset
for help on using the changeset viewer.