From: gmungoc Date: Thu, 4 Aug 2016 09:11:06 +0000 (+0100) Subject: JAL-2015 convert Color from colour picker to FeatureColour X-Git-Tag: Release_2_10_0~118 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2fa752e929d92978a4afaeebd859295512552fce;p=jalview.git JAL-2015 convert Color from colour picker to FeatureColour --- diff --git a/src/jalview/gui/FeatureSettings.java b/src/jalview/gui/FeatureSettings.java index bfc14b5..a4d8728 100644 --- a/src/jalview/gui/FeatureSettings.java +++ b/src/jalview/gui/FeatureSettings.java @@ -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(),