Open the channel select dialog from the legend.
Double clicking on the legend now opens the channel select dialog. For some reason adding the ItemIsSelectable or ItemIsMovable flag on the legend broke the dragging of the legend until I removed the pqqtgraph code from the legend class.