Changeset 13434 in josm for trunk/src/org/openstreetmap/josm/actions/ZoomToAction.java
- Timestamp:
- 2018-02-18T05:02:23+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ZoomToAction.java
r12636 r13434 105 105 106 106 protected final void updateEnabledState() { 107 if (Main.main == null || MainApplication.getLayerManager().get EditLayer() != this.table.getLayer()) {107 if (Main.main == null || MainApplication.getLayerManager().getActiveDataLayer() != this.table.getLayer()) { 108 108 setEnabled(false); 109 109 putValue(SHORT_DESCRIPTION, descriptionInactiveLayer);
Note:
See TracChangeset
for help on using the changeset viewer.