#9308: enable remove groups in the legend
Merge pull request #1060 from ahuarte47/Issue_9308

Bug #9308: fix impossible to remove a group in the legend