From: Jim Procter Date: Sun, 27 Apr 2014 22:13:58 +0000 (+0100) Subject: JAL-1322 allow slider to reach maximum value for parameter X-Git-Tag: Jalview_2_9~192^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=eba0c4f1604cd568b39febd2e37e6012bb85aba2;p=jalview.git JAL-1322 allow slider to reach maximum value for parameter --- 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 {