From: amwaterhouse Date: Tue, 15 Feb 2005 10:46:29 +0000 (+0000) Subject: no action if supplied colour isnull X-Git-Tag: Release_2_0~658 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6ba38b203398282826e738a5ac792fb689479241;p=jalview.git no action if supplied colour isnull --- diff --git a/src/jalview/gui/SliderPanel.java b/src/jalview/gui/SliderPanel.java index 79a05de..fca4105 100755 --- a/src/jalview/gui/SliderPanel.java +++ b/src/jalview/gui/SliderPanel.java @@ -50,6 +50,9 @@ public class SliderPanel extends GSliderPanel public void valueChanged(int i) { + if(cs == null) + return; + ColourSchemeI toChange = null; Vector allGroups = null; int groupIndex = 0;