Changeset 7333 in josm for trunk/src


Ignore:
Timestamp:
2014-07-26T00:38:59+02:00 (5 years ago)
Author:
Don-vip
Message:

remove elemstyles.xml from preferences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/map/MapPaintPreference.java

    r7330 r7333  
    249249                knownDefaults.add(def.url);
    250250            }
     251            // XML style is not bundled anymore
     252            knownDefaults.remove("resource://styles/standard/elemstyles.xml");
    251253            Main.pref.putCollection("mappaint.style.known-defaults", knownDefaults);
    252254
     
    294296            }
    295297
     298            // XML style is not bundled anymore
     299            list.remove(Utils.find(list, new Predicate<SourceEntry>() {
     300                        @Override
     301                        public boolean evaluate(SourceEntry se) {
     302                            return "resource://styles/standard/elemstyles.xml".equals(se.url);
     303                        }}));
     304
    296305            return changed;
    297306        }
Note: See TracChangeset for help on using the changeset viewer.