Changeset 1414 in josm for trunk/src


Ignore:
Timestamp:
2009-02-16T13:06:50+01:00 (16 years ago)
Author:
stoecker
Message:

fixed #2186

File:
1 edited

Legend:

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

    r1408 r1414  
    637637            for(TaggingPreset t : TaggingPresetPreference.taggingPresets)
    638638            {
    639                 if(!( (relations > 0 && !t.types.contains("relation")) &&
     639                if(t.types == null || !((relations > 0 && !t.types.contains("relation")) &&
    640640                (nodes > 0 && !t.types.contains("node")) &&
    641641                (ways+closedways > 0 && !t.types.contains("way")) &&
Note: See TracChangeset for help on using the changeset viewer.