apply gpl development license
[jalview.git] / src / jalview / appletgui / UserDefinedColours.java
index 0f30539..825cfd3 100755 (executable)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
+ * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
  * 
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -383,6 +383,15 @@ public class UserDefinedColours extends Panel implements ActionListener,
       {
         ((FeatureRenderer) caller).colourPanel.setBackground(getColor());
       }
+      else if (caller instanceof FeatureColourChooser)
+      {
+        if (originalLabel.indexOf("inimum")>-1)
+        {
+          ((FeatureColourChooser) caller).minColour_actionPerformed(getColor());
+        } else {
+          ((FeatureColourChooser) caller).maxColour_actionPerformed(getColor());
+        }
+      }
 
       return;
     }