code style
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 22 Jul 2011 14:56:55 +0000 (15:56 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 22 Jul 2011 14:56:55 +0000 (15:56 +0100)
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());
       }
     }