Changeset 18964 in josm for trunk/src/org
- Timestamp:
- 2024-01-30T15:58:03+01:00 (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/ValidationTask.java
r18963 r18964 136 136 } 137 137 138 if (!GraphicsEnvironment.isHeadless() && MainApplication.getMap() != null && (!beforeUpload || !errors.isEmpty())) { 138 if (!GraphicsEnvironment.isHeadless() && MainApplication.getMap() != null) { 139 MapFrame map = MainApplication.getMap(); 139 140 // update GUI on Swing EDT 140 141 GuiHelper.runInEDT(() -> { 141 MapFrame map = MainApplication.getMap(); 142 // see #23440 why this is inside the EDT 143 if (!map.validatorDialog.isShowing() && errors.isEmpty() && beforeUpload) 144 return; 142 145 map.validatorDialog.unfurlDialog(); 143 146 map.validatorDialog.tree.setErrors(errors);
Note:
See TracChangeset
for help on using the changeset viewer.