JAL-2069 clear any error colour when setting threshold from slider
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 14 Jan 2019 14:25:11 +0000 (14:25 +0000)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Mon, 14 Jan 2019 14:25:11 +0000 (14:25 +0000)
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();
         }
       }