Changeset 12639 in josm for trunk/src/org/openstreetmap/josm/gui/MapView.java
- Timestamp:
- 2017-08-25T01:37:31+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r12630 r12639 672 672 final boolean activeLayerSupported = mode.layerIsSupported(layerManager.getActiveLayer()); 673 673 if (activeLayerSupported) { 674 Main .registerActionShortcut(mode, mode.getShortcut()); //fix #6876674 MainApplication.registerActionShortcut(mode, mode.getShortcut()); //fix #6876 675 675 } else { 676 Main .unregisterShortcut(mode.getShortcut());676 MainApplication.unregisterShortcut(mode.getShortcut()); 677 677 } 678 678 b.setEnabled(activeLayerSupported);
Note:
See TracChangeset
for help on using the changeset viewer.