Changeset 414 in josm


Ignore:
Timestamp:
23.10.2007 21:51:53 (5 years ago)
Author:
gebner
Message:

Add check for MapView.activeLayer == null.

File:
1 edited

Legend:

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

    r343 r414  
    179179                                l.paint(g, this); 
    180180                } 
    181                 if (getActiveLayer().visible) 
     181                if (getActiveLayer() != null && getActiveLayer().visible) 
    182182                        getActiveLayer().paint(g, this); 
    183183 
Note: See TracChangeset for help on using the changeset viewer.