From e476751dd0458380e5bc494835c1672df21c8e6f Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 8 Jan 2018 14:52:53 +0000 Subject: [PATCH] JAL-2069 fix setting initial value of slider from threshold --- src/jalview/gui/FeatureTypeSettings.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/jalview/gui/FeatureTypeSettings.java b/src/jalview/gui/FeatureTypeSettings.java index c784d8d..5480f5d 100644 --- a/src/jalview/gui/FeatureTypeSettings.java +++ b/src/jalview/gui/FeatureTypeSettings.java @@ -325,6 +325,7 @@ public class FeatureTypeSettings extends JalviewDialog * Graduated colour, by score or attribute value range */ graduatedColour.setSelected(true); + updateColourMinMax(); // ensure min, max are set colourByRangeCombo.setEnabled(colourByRangeCombo.getItemCount() > 1); minColour.setEnabled(true); maxColour.setEnabled(true); -- 1.7.10.2