Ignore:
Timestamp:
2018-02-18T05:02:23+01:00 (7 years ago)
Author:
Don-vip
Message:

see #8039, see #10456 - support read-only data layers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/OrthogonalizeAction.java

    r13123 r13434  
    139139        @Override
    140140        protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) {
    141             setEnabled(selection != null && !selection.isEmpty());
     141            updateEnabledStateOnModifiableSelection(selection);
    142142        }
    143143    }
     
    646646    @Override
    647647    protected void updateEnabledState(Collection<? extends OsmPrimitive> selection) {
    648         setEnabled(selection != null && !selection.isEmpty());
     648        updateEnabledStateOnModifiableSelection(selection);
    649649    }
    650650}
Note: See TracChangeset for help on using the changeset viewer.