Draft: Updating the layer style of clones
Bug: https://bugs.kde.org/show_bug.cgi?id=363064
Missing:
- The LayerStyle context menu should be disabled. I've looked into the flags for the action menu, but it will be active if there's an active layer, which is true for a clone layer since it inherits from
KisLayer
.
A possible solution would be to add a specific flag (LAYER_STYLE_EDITABLE), but it seems to be very specific.
p.s. Another need like that exist when looking at Local Selection and Properties context menu. It doesn't do anything, but the menu it self is enabled and there's no clear way to disable it. If we do decide to follow the above solution, we could also add PROPERTIES_EDITABLE