From 8018887d2917a478af88ab5ed3c7621d7cf18967 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Wed, 3 May 2017 09:47:26 +0100 Subject: [PATCH] =?utf8?q?JAL-2432=20recover=20state=20for=20=E2=80=98displa?= =?utf8?q?y=20percentage=E2=80=99=20checkbox?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/jalview/appletgui/AnnotationColumnChooser.java | 1 + src/jalview/gui/AnnotationColumnChooser.java | 2 ++ 2 files changed, 3 insertions(+) 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 -- 1.7.10.2