From: amwaterhouse Date: Fri, 24 Nov 2006 14:06:11 +0000 (+0000) Subject: Fix load 1 col hidden bug X-Git-Tag: Release_2_2~35 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=84a5a1ae1a0b6b4817356e06f1d0be4c22ce250b;p=jalview.git Fix load 1 col hidden bug --- 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); }