JAL-3058 save modified colour from dialog
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 9 Jul 2018 08:33:39 +0000 (09:33 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 9 Jul 2018 08:33:39 +0000 (09:33 +0100)
src/jalview/gui/FeatureRenderer.java

index f987b60..18c440e 100644 (file)
@@ -205,7 +205,8 @@ public class FeatureRenderer
             @Override
             public void colourSelected(Color c)
             {
-              updateColourButton(mainPanel, colour, new FeatureColour(c));
+              fcol = new FeatureColour(c);
+              updateColourButton(mainPanel, colour, fcol);
             };
           };
           JalviewColourChooser.showColourChooser(Desktop.getDesktop(),