From: Jim Procter Date: Wed, 3 May 2017 08:47:26 +0000 (+0100) Subject: JAL-2432 recover state for ‘display percentage’ checkbox X-Git-Tag: Release_2_10_2~3^2~109^2~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8018887d2917a478af88ab5ed3c7621d7cf18967;p=jalview.git JAL-2432 recover state for ‘display percentage’ checkbox --- diff --git a/src/jalview/appletgui/AnnotationColumnChooser.java b/src/jalview/appletgui/AnnotationColumnChooser.java index 0319b5c..b139fb8 100644 --- a/src/jalview/appletgui/AnnotationColumnChooser.java +++ b/src/jalview/appletgui/AnnotationColumnChooser.java @@ -182,6 +182,7 @@ public class AnnotationColumnChooser extends AnnotationRowFilter implements .getThreshold().getSelectedIndex()); actionOption = lastChooser .getActionOption(); + percentThreshold.setState(lastChooser.percentThreshold.getState()); } try diff --git a/src/jalview/gui/AnnotationColumnChooser.java b/src/jalview/gui/AnnotationColumnChooser.java index bfe2f81..d0f1247 100644 --- a/src/jalview/gui/AnnotationColumnChooser.java +++ b/src/jalview/gui/AnnotationColumnChooser.java @@ -125,6 +125,8 @@ public class AnnotationColumnChooser extends AnnotationRowFilter implements .getThreshold().getSelectedIndex()); actionOption = lastChooser .getActionOption(); + percentThreshold.setSelected(lastChooser.percentThreshold + .isSelected()); } try