JAL-1065 JAL-1066 - use direct object reference rather then index into alignment
[jalview.git] / src / jalview / gui / UserDefinedColours.java
index 8566e82..ca60354 100755 (executable)
@@ -386,7 +386,7 @@ public class UserDefinedColours extends GUserDefinedColours implements
       {
         try
         {
-          col = oldColourScheme.findColour(aa.charAt(0), -1, -1);
+          col = oldColourScheme.findColour(aa.charAt(0), -1, null);
         } catch (Exception ex)
         {
         }