Changeset 5973 in josm for trunk/src/org


Ignore:
Timestamp:
2013-05-29T00:48:31+02:00 (12 years ago)
Author:
Don-vip
Message:

see #8740 - fix NPE in core with plugins defining invalid preferences (scripting)

File:
1 edited

Legend:

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

    r5954 r5973  
    201201            @Override
    202202            public boolean identify(TabPreferenceSetting tps, Object name) {
    203                 return tps != null && tps.getIconName().equals(name);
     203                return name != null && tps != null && tps.getIconName() != null && tps.getIconName().equals(name);
    204204            }}, name);
    205205    }
Note: See TracChangeset for help on using the changeset viewer.