Changeset 14666 in josm for trunk/src/org


Ignore:
Timestamp:
2019-01-08T20:25:29+01:00 (6 years ago)
Author:
GerdP
Message:

fix #17183: unfurl Validator Panel first and set error list later so that unfurl doesn't empty the error list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ValidateAction.java

    r14599 r14666  
    142142            GuiHelper.runInEDT(() -> {
    143143                MapFrame map = MainApplication.getMap();
     144                map.validatorDialog.unfurlDialog();
    144145                map.validatorDialog.tree.setErrors(errors);
    145                 map.validatorDialog.unfurlDialog();
    146146                //FIXME: nicer way to find / invalidate the corresponding error layer
    147147                MainApplication.getLayerManager().getLayersOfType(ValidatorLayer.class).forEach(ValidatorLayer::invalidate);
Note: See TracChangeset for help on using the changeset viewer.