Changeset 4202 in josm


Ignore:
Timestamp:
Jul 5, 2011 10:25:10 PM (23 months ago)
Author:
jttt
Message:

Fix #6543 NPE in slippymapchooser

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java

    r4195 r4202  
    235235                    Main.warn(ts.getAttributionLinkURL());*/ 
    236236                return true; 
    237             } else if(attrToUBounds.contains(p)) { 
     237            } else if(attrToUBounds != null && attrToUBounds.contains(p)) { 
    238238                if(click) 
    239239                    Desktop.getDesktop().browse(new URI(ts.getTermsOfUseURL())); 
Note: See TracChangeset for help on using the changeset viewer.