From: amwaterhouse Date: Wed, 15 Jun 2005 15:04:28 +0000 (+0000) Subject: check colourscheme is not null X-Git-Tag: Release_2_0~22 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=813abcbd234db6ac665bf43ffc17759f33667015;p=jalview.git check colourscheme is not null --- diff --git a/src/jalview/gui/SliderPanel.java b/src/jalview/gui/SliderPanel.java index f95f84b..1a62fff 100755 --- a/src/jalview/gui/SliderPanel.java +++ b/src/jalview/gui/SliderPanel.java @@ -232,6 +232,11 @@ public class SliderPanel if (allGroups != null) { toChange = ( (SequenceGroup) allGroups.get(groupIndex)).cs; + if(toChange==null) + { + groupIndex--; + continue; + } } if (forConservation)