Ignore:
Timestamp:
2020-08-29T16:54:07+02:00 (4 years ago)
Author:
simon04
Message:

fix #19510 - Add "Zoom to layer" in context menu of layers in the Layers panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java

    r16913 r16967  
    7474import org.openstreetmap.gui.jmapviewer.interfaces.TileSource;
    7575import org.openstreetmap.gui.jmapviewer.tilesources.AbstractTMSTileSource;
     76import org.openstreetmap.josm.actions.AutoScaleAction;
    7677import org.openstreetmap.josm.actions.ExpertToggleAction;
    7778import org.openstreetmap.josm.actions.ImageryAdjustAction;
     
    17521753            LayerListDialog.getInstance().createActivateLayerAction(this),
    17531754            LayerListDialog.getInstance().createShowHideLayerAction(),
     1755            MainApplication.getMenu().autoScaleActions.get(AutoScaleAction.AutoScaleMode.LAYER),
    17541756            LayerListDialog.getInstance().createDeleteLayerAction(),
    17551757            SeparatorLayerAction.INSTANCE,
Note: See TracChangeset for help on using the changeset viewer.