From eba0c4f1604cd568b39febd2e37e6012bb85aba2 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 27 Apr 2014 23:13:58 +0100 Subject: [PATCH] JAL-1322 allow slider to reach maximum value for parameter --- src/jalview/gui/OptsAndParamsPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/gui/OptsAndParamsPage.java b/src/jalview/gui/OptsAndParamsPage.java index 411aba3..c2f3dbc 100644 --- a/src/jalview/gui/OptsAndParamsPage.java +++ b/src/jalview/gui/OptsAndParamsPage.java @@ -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 { -- 1.7.10.2