Changeset 16461 in josm for trunk/src/org/openstreetmap/josm/gui/history/ShowHistoryAction.java
- Timestamp:
- 2020-05-19T06:32:38+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/ShowHistoryAction.java
r16460 r16461 52 52 static class DoubleClickAdapter extends MouseAdapter { 53 53 private final Function<MouseEvent, PrimitiveId> primitiveIdFunction; 54 private final ShowHistoryAction showHistoryAction = new ShowHistoryAction();55 54 56 55 DoubleClickAdapter(Function<MouseEvent, PrimitiveId> primitiveIdFunction) { … … 65 64 if (pid == null || pid.isNew()) 66 65 return; 67 showHistoryAction.setPrimitiveId(pid); 68 showHistoryAction.run(); 66 HistoryBrowserDialogManager.getInstance().showHistory(Collections.singleton(pid)); 69 67 } 70 68 }
Note:
See TracChangeset
for help on using the changeset viewer.