I have a quite annoying problem. Whenever I click on a legend item, the current graph selection is cancelled. I have the following setup:

plot->setInteractions(QCP::iRangeDrag | QCP::iRangeZoom | QCP::iSelectPlottables | QCP::iMultiSelect);

I changed selectable parts of legend to


in the hope that the clic will be eaten by the legend and not processed by the plot, with no success.

Can you help me with this ?