JAL-1322 allow slider to reach maximum value for parameter
authorJim Procter <jprocter@dundee.ac.uk>
Sun, 27 Apr 2014 22:13:58 +0000 (23:13 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Sun, 27 Apr 2014 22:13:58 +0000 (23:13 +0100)
src/jalview/gui/OptsAndParamsPage.java

index 411aba3..c2f3dbc 100644 (file)
@@ -679,7 +679,7 @@ public class OptsAndParamsPage
           {
             slider.getModel().setRangeProperties(iVal, 1,
                     validator.getMin().intValue(),
-                    validator.getMax().intValue(), true);
+                    validator.getMax().intValue()+1, true);
           }
           else
           {