ensure that both null and undefined colourscheme names resolve to 'None' when the...
authorjprocter <Jim Procter>
Wed, 4 Aug 2010 12:09:56 +0000 (12:09 +0000)
committerjprocter <Jim Procter>
Wed, 4 Aug 2010 12:09:56 +0000 (12:09 +0000)
src/jalview/jbgui/GAlignFrame.java

index 8342609..f10e234 100755 (executable)
@@ -430,9 +430,6 @@ public class GAlignFrame extends JInternalFrame
 
       switch (index)
       {
-      case ColourSchemeProperty.NONE:
-        noColourmenuItem.setSelected(true);
-        break;
       case ColourSchemeProperty.CLUSTAL:
         clustalColour.setSelected(true);
 
@@ -491,6 +488,11 @@ public class GAlignFrame extends JInternalFrame
         userDefinedColour.setSelected(true);
 
         break;
+      case ColourSchemeProperty.NONE:
+      default:
+        noColourmenuItem.setSelected(true);
+        break;
+        
       }
     }