From 84a5a1ae1a0b6b4817356e06f1d0be4c22ce250b Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 24 Nov 2006 14:06:11 +0000 Subject: [PATCH] Fix load 1 col hidden bug --- src/jalview/datamodel/ColumnSelection.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/jalview/datamodel/ColumnSelection.java b/src/jalview/datamodel/ColumnSelection.java index 6b44832..3c1d6f1 100644 --- a/src/jalview/datamodel/ColumnSelection.java +++ b/src/jalview/datamodel/ColumnSelection.java @@ -600,6 +600,8 @@ public class ColumnSelection { removeElement(max); max ++; } min++; max--; + if(min>max) + min = max; hideColumns(min, max); } -- 1.7.10.2