ColorSelection.setHasPalette

void setHasPalette(bool hasPalette)

Shows and hides the palette based upon the value of has_palette.

Parameters

hasPalettetrue if palette is to be visible, false otherwise