Ignore:
Timestamp:
2018-01-01T18:05:22+01:00 (2 years ago)
Author:
Don-vip
Message:

see #15713 - Add dirty-mode to TMS imagery sources

File:
1 edited

Legend:

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

    r13243 r13266  
    616616            add(new JMenuItem(new LoadTileAction()));
    617617            add(new JMenuItem(new ShowTileInfoAction()));
    618             if (ExpertToggleAction.isExpert() && tileSource != null && tileSource.getBaseUrl() != null
    619                     && tileSource.getBaseUrl().contains(".tile.openstreetmap.org/")) {
     618            if (ExpertToggleAction.isExpert() && tileSource != null && tileSource.isDirtyMode()) {
    620619                add(new JMenuItem(new GetOsmTileStatusAction()));
    621620                add(new JMenuItem(new MarkOsmTileDirtyAction()));
Note: See TracChangeset for help on using the changeset viewer.