diff --git a/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java b/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
index cb7f90b..f54d66f 100644
|
a
|
b
|
implements ImageObserver, TileLoaderListener, ZoomChangeListener {
|
| 633 | 633 | // FIXME: why do we need this? Without this, if you add a WMS layer and do not move the mouse, sometimes, tiles do not |
| 634 | 634 | // start loading. |
| 635 | 635 | // FIXME: Check if this is still required. |
| 636 | | Main.map.repaint(500); |
| | 636 | event.getMapView().repaint(500); |
| 637 | 637 | |
| 638 | 638 | return super.attachToMapView(event); |
| 639 | 639 | } |