Changeset 4202 in josm


Ignore:
Timestamp:
2011-07-05T22:25:10+02:00 (13 years 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.