Ignore:
Timestamp:
2018-02-19T01:14:22+01:00 (9 months ago)
Author:
Don-vip
Message:

see #8039, see #10456 - disable more actions modifying the dataset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r13434 r13446  
    12711271            Collection<OsmPrimitive> sel = Main.main.getInProgressSelection();
    12721272            String clipboard = ClipboardUtils.getClipboardStringContent();
    1273             if (sel.isEmpty() || clipboard == null)
     1273            if (sel.isEmpty() || clipboard == null || sel.iterator().next().getDataSet().isReadOnly())
    12741274                return;
    12751275            MainApplication.undoRedo.add(new ChangePropertyCommand(sel, key, Utils.strip(clipboard)));
Note: See TracChangeset for help on using the changeset viewer.