Changeset 10621 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2016-07-24T13:13:18+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/io/DownloadPrimitivesWithReferrersTask.java
r10616 r10621 138 138 final Set<PrimitiveId> errs = mainTask.getMissingPrimitives(); 139 139 if (errs != null && !errs.isEmpty()) 140 GuiHelper.runInEDTAndWait( reportProblemDialog(errs,140 GuiHelper.runInEDTAndWait(() -> reportProblemDialog(errs, 141 141 trn("Object could not be downloaded", "Some objects could not be downloaded", errs.size()), 142 142 trn("One object could not be downloaded.<br>", … … 148 148 tr("missing objects:"), 149 149 JOptionPane.ERROR_MESSAGE 150 ) ::showDialog);150 ).showDialog()); 151 151 152 152 // Warm about deleted primitives … … 160 160 } 161 161 if (!del.isEmpty()) 162 GuiHelper.runInEDTAndWait( reportProblemDialog(del,162 GuiHelper.runInEDTAndWait(() -> reportProblemDialog(del, 163 163 trn("Object deleted", "Objects deleted", del.size()), 164 164 trn( … … 169 169 null, 170 170 JOptionPane.WARNING_MESSAGE 171 ) ::showDialog);171 ).showDialog()); 172 172 } 173 173
Note:
See TracChangeset
for help on using the changeset viewer.