{
AnnotationColourGradient acg = (AnnotationColourGradient) oldcs;
currentColours.setSelected(acg.predefinedColours);
- if (acg.predefinedColours)
+ if (!acg.predefinedColours)
{
-
- } else {
- minColour.setBackground(acg.getMinColour());
+ minColour.setBackground(acg.getMinColour());
maxColour.setBackground(acg.getMaxColour());
}
}