Changeset 4456 in josm
- Timestamp:
- 2011-09-24T11:58:58+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java
r4432 r4456 710 710 Layer firstLayer = getModel().getSelectedLayers().get(0); 711 711 for (Layer l: getModel().getSelectedLayers()) { 712 if (l != firstLayer && !l.isMergable(firstLayer)) {712 if (l != firstLayer && (!l.isMergable(firstLayer) || !firstLayer.isMergable(l))) { 713 713 setEnabled(false); 714 714 return; … … 1287 1287 continue; 1288 1288 } 1289 if (target.isMergable(source) ) {1289 if (target.isMergable(source) && source.isMergable(target)) { 1290 1290 targets.add(target); 1291 1291 }
Note:
See TracChangeset
for help on using the changeset viewer.