Changeset 1896 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2009-08-03T17:40:19+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r1895 r1896 282 282 new String[] {"dialogs/delete.png", "cancel.png"}).getValue(); 283 283 284 return result != 1;284 return result == 1; 285 285 } 286 286 … … 332 332 if (layer instanceof OsmDataLayer) { 333 333 OsmDataLayer dataLayer = (OsmDataLayer)layer; 334 if (dataLayer.isModified() && ! confirmSkipSaving(dataLayer)) 335 return; 334 if (dataLayer.isModified()) { 335 if (! confirmSkipSaving(dataLayer)) 336 return; 337 } 336 338 else if (!confirmDeleteLayer(dataLayer)) 337 339 return; 338 339 340 } else { 340 341 if (!confirmDeleteLayer(layer))
Note:
See TracChangeset
for help on using the changeset viewer.