From 35f590cdfe3352c8f6a0592a1f1bf64925f21b98 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 14 Jan 2019 14:25:11 +0000 Subject: [PATCH] JAL-2069 clear any error colour when setting threshold from slider --- 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 1163ae6..c4be1c0 100644 --- a/src/jalview/gui/FeatureTypeSettings.java +++ b/src/jalview/gui/FeatureTypeSettings.java @@ -652,6 +652,7 @@ public class FeatureTypeSettings extends JalviewDialog { thresholdValue .setText(String.valueOf(slider.getValue() / scaleFactor)); + thresholdValue.setBackground(Color.white); // to reset red for invalid sliderValueChanged(); } } -- 1.7.10.2