Opened 14 years ago

Last modified 14 years ago

#6873 closed defect

[Patch] Layers merge compatibility check should be mutual — at Version 1

Reported by: Don-vip Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by Don-vip)

To enable or not layers merge, 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.

Change History (2)

by Don-vip, 14 years ago

Attachment: patch.diff added

comment:1 by Don-vip, 14 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.