From 6ba38b203398282826e738a5ac792fb689479241 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 15 Feb 2005 10:46:29 +0000 Subject: [PATCH] no action if supplied colour isnull --- src/jalview/gui/SliderPanel.java | 3 +++ 1 file changed, 3 insertions(+) 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; -- 1.7.10.2