Changeset 18570 in josm
- Timestamp:
- 2022-10-06T21:10:57+02:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r18561 r18570 515 515 */ 516 516 public static boolean exitJosm(boolean exit, int exitCode, SaveLayersDialog.Reason reason) { 517 final boolean proceed = Boolean.TRUE.equals(GuiHelper.runInEDTAndWaitAndReturn(() -> 517 final boolean proceed = layerManager.getLayers().isEmpty() || 518 Boolean.TRUE.equals(GuiHelper.runInEDTAndWaitAndReturn(() -> 518 519 SaveLayersDialog.saveUnsavedModifications(layerManager.getLayers(), 519 520 reason != null ? reason : SaveLayersDialog.Reason.EXIT)));
Note:
See TracChangeset
for help on using the changeset viewer.