Changeset 9873 in josm


Ignore:
Timestamp:
2016-02-24T09:33:08+01:00 (4 years ago)
Author:
simon04
Message:

see #12453 - Display "discourage upload" in layer popup menu for experts

Removes the need to set data.layer.upload_discouragement.menu_item

File:
1 edited

Legend:

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

    r9751 r9873  
    587587                SeparatorLayerAction.INSTANCE,
    588588                new RenameLayerAction(getAssociatedFile(), this)}));
    589         if (ExpertToggleAction.isExpert() && Main.pref.getBoolean("data.layer.upload_discouragement.menu_item", false)) {
     589        if (ExpertToggleAction.isExpert()) {
    590590            actions.add(new ToggleUploadDiscouragedLayerAction(this));
    591591        }
Note: See TracChangeset for help on using the changeset viewer.