From 2fa752e929d92978a4afaeebd859295512552fce Mon Sep 17 00:00:00 2001 From: gmungoc Date: Thu, 4 Aug 2016 10:11:06 +0100 Subject: [PATCH] JAL-2015 convert Color from colour picker to FeatureColour --- src/jalview/gui/FeatureSettings.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(), -- 1.7.10.2