JAL-2015 convert Color from colour picker to FeatureColour
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 4 Aug 2016 09:11:06 +0000 (10:11 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 4 Aug 2016 09:11:06 +0000 (10:11 +0100)
src/jalview/gui/FeatureSettings.java

index bfc14b5..a4d8728 100644 (file)
@@ -383,7 +383,9 @@ public class FeatureSettings extends JPanel implements
               else
               {
                 // probably the color chooser!
-                table.setValueAt(colorChooser.getColor(), selectedRow, 1);
+                table.setValueAt(
+                        new FeatureColour(colorChooser.getColor()),
+                        selectedRow, 1);
                 table.validate();
                 me.updateFeatureRenderer(
                         ((FeatureTableModel) table.getModel()).getData(),