Closed anderserla closed 9 years ago
Tested this with change in config2.json - need more testing with other configs containing sub groups.
Great! Tested with debug_all.json, that contains more subgroups. Works fine, with one small issue: When checking a layer or sublayer, all its parents should be checked. Now only its first parent gets checked.
Another issue to be solved is that the context menu item for adding a group layer should be activated even if the user clicks a group layer, making it possible to add group layers under group layers. Could you give me a hint on this @sweco-sebhar ?
You are right there is no logic that disables the context menu by itself, but there is logic that disables invididual actions that should be displayed in the context menu and I can only assume that when no actions are enabled the context menu will not be showed. There is logic in place that only enables group creation on the root here:
It would be great to have the ability of multiple group layers nested inside each other.