From: jprocter Date: Fri, 22 Jul 2011 14:56:55 +0000 (+0100) Subject: code style X-Git-Tag: Release_2_7~127 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e549be446ec3ed7f7b1bc8b348c409bcffca901b;p=jalview.git code style --- diff --git a/src/jalview/gui/AnnotationColourChooser.java b/src/jalview/gui/AnnotationColourChooser.java index 639140e..49f356d 100755 --- a/src/jalview/gui/AnnotationColourChooser.java +++ b/src/jalview/gui/AnnotationColourChooser.java @@ -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()); } }