JAL-2069 clear any error colour when setting threshold from slider
[jalview.git] / src / jalview / gui / FeatureTypeSettings.java
index 1163ae6..c4be1c0 100644 (file)
@@ -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();
         }
       }