Validator dialog crashes when the active edit layer is deleted
|Reported by:||Gnonthgol||Owned by:||team|
If you delete the active edit layer the validator dialog does not update. With some debuging I have found that the cause of the problem is that mapView.getActiveLayer() updates before the listeners are triggered. That causes the check at org.openstreetmap.josm.data.validation.OsmValidator:298 to fail every time.
Maybe it would be easier if the logic was moved to org.openstreetmap.josm.gui.dialogs.ValidatorDialog