fix qt5 build
plot: only allow X column to be selected once