all can threshold
[jalview.git] / src / jalview / schemes / ColourSchemeProperty.java
index 4343b54..8317bd7 100755 (executable)
@@ -118,11 +118,7 @@ public class ColourSchemeProperty
       case TURN: cs = new TurnColourScheme(); break;\r
       case BURIED: cs = new BuriedColourScheme(); break;\r
       case NUCLEOTIDE: cs = new NucleotideColourScheme(); break;\r
-      case USER_DEFINED:\r
-       // if(jalview.bin.Cache.getProperty("USER_DEFINED_COLOUR")!=null)\r
-        {\r
-       //   cs = jalview.gui.UserDefinedColours.loadDefaultColours(jalview.bin.Cache.getProperty("USER_DEFINED_COLOUR"));\r
-        }\r
+      case USER_DEFINED: cs = new UserColourScheme(null);\r
         break;\r
 \r
       default: break;\r