Hi,

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);
plot->legend->setSelectableParts(QCPLegend::spNone);

I changed selectable parts of legend to

plot->legend->setSelectableParts(QCPLegend::spItems);

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 ?