Opened 14 years ago
Last modified 14 years ago
#6873 closed defect
[Patch] Layers merge compatibility check should be mutual — at Initial Version
| Reported by: | Don-vip | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | latest |
| Keywords: | Cc: |
Description
To enable or not layers merge, [:source/trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java LayerListDialog] currently checks only if one layer accepts to be merged with another.
This should be a reciprocal check, as it forbids for example, with the current implementation to define its own layer class extending OsmDataLayer without having it automatically potentially be merged with another OsmDataLayer (this is something a plugin writer would not want).
Please find attached a patch that performs a mutual check.


