From: gmungoc Date: Mon, 8 Jan 2018 14:52:53 +0000 (+0000) Subject: JAL-2069 fix setting initial value of slider from threshold X-Git-Tag: Release_2_11_0~76 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e476751dd0458380e5bc494835c1672df21c8e6f;p=jalview.git JAL-2069 fix setting initial value of slider from threshold --- 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);