Changeset 4417 in josm for trunk/src


Ignore:
Timestamp:
2011-09-12T22:19:20+02:00 (13 years ago)
Author:
bastiK
Message:

applied #6812 - NPE when clicking in TMS layer (patch by Don-vip)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java

    r4331 r4417  
    497497                                    e1.printStackTrace();
    498498                                }
    499                             } else if(attrToUBounds.contains(e.getPoint())) {
     499                            } else if(attrToUBounds != null && attrToUBounds.contains(e.getPoint())) {
    500500                                try {
    501501                                    java.awt.Desktop desktop = java.awt.Desktop.getDesktop();
Note: See TracChangeset for help on using the changeset viewer.