Changeset 414 in josm for trunk/src/org


Ignore:
Timestamp:
2007-10-23T21:51:53+02:00 (17 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.