code style
[jalview.git] / src / jalview / gui / AnnotationColourChooser.java
index 639140e..49f356d 100755 (executable)
@@ -101,11 +101,9 @@ public class AnnotationColourChooser extends JPanel
     {
       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());
       }
     }