Ignore:
Timestamp:
2018-02-18T05:02:23+01:00 (6 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/gui/util/HighlightHelper.java

    r12636 r13434  
    132132     */
    133133    public static void clearAllHighlighted() {
    134         DataSet ds = MainApplication.getLayerManager().getEditDataSet();
     134        DataSet ds = MainApplication.getLayerManager().getActiveDataSet();
    135135        if (ds != null) {
    136136            for (OsmPrimitive p: ds.allNonDeletedPrimitives()) {
Note: See TracChangeset for help on using the changeset viewer.