From ce66c3a512ba0d21dca3f389afc50b4a39ea5e1f Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Mon, 13 Jun 2005 12:04:01 +0000 Subject: [PATCH] clustal probs --- src/jalview/appletgui/SeqPanel.java | 4 ---- src/jalview/gui/SeqPanel.java | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/jalview/appletgui/SeqPanel.java b/src/jalview/appletgui/SeqPanel.java index 6e2a544..67b049a 100755 --- a/src/jalview/appletgui/SeqPanel.java +++ b/src/jalview/appletgui/SeqPanel.java @@ -613,12 +613,8 @@ public class SeqPanel } else { - if (stretchGroup.cs != null) - { SliderPanel.setPIDSliderSource(ap, stretchGroup.cs, stretchGroup.getName()); - } - } changeEndRes = false; diff --git a/src/jalview/gui/SeqPanel.java b/src/jalview/gui/SeqPanel.java index a643ab8..c729554 100755 --- a/src/jalview/gui/SeqPanel.java +++ b/src/jalview/gui/SeqPanel.java @@ -630,7 +630,8 @@ public class SeqPanel ( (ClustalxColourScheme) stretchGroup.cs).resetClustalX(stretchGroup.sequences, stretchGroup.getWidth()); } - else if (stretchGroup.cs instanceof ConservationColourScheme) + + if (stretchGroup.cs instanceof ConservationColourScheme) { ConservationColourScheme ccs = (ConservationColourScheme) stretchGroup.cs; stretchGroup.cs = ccs; -- 1.7.10.2