Ignore:
Timestamp:
2013-10-27T05:35:41+01:00 (11 years ago)
Author:
Don-vip
Message:

code cleanup / robustness in edit layer handling

File:
1 edited

Legend:

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

    r6310 r6336  
    432432    private static void playAdjacentMarker(Marker startMarker, boolean next) {
    433433        Marker m = null;
    434         if (Main.map == null || Main.map.mapView == null)
     434        if (!Main.isDisplayingMapView())
    435435            return;
    436436        Layer l = Main.map.mapView.getActiveLayer();
Note: See TracChangeset for help on using the changeset viewer.