From: amwaterhouse Date: Thu, 17 Aug 2006 14:06:02 +0000 (+0000) Subject: H key updates X-Git-Tag: Release_2_1~36 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=76b5c58c65413e8b239dbf71999f500600ef0f95;p=jalview.git H key updates --- diff --git a/src/jalview/appletgui/AlignFrame.java b/src/jalview/appletgui/AlignFrame.java index 0a771e1..bad7617 100755 --- a/src/jalview/appletgui/AlignFrame.java +++ b/src/jalview/appletgui/AlignFrame.java @@ -343,7 +343,7 @@ public class AlignFrame extends Frame implements ActionListener, hide = true; viewport.hideAllSelectedSeqs(); } - else + else if (!(toggleCols && viewport.colSel.getSelected().size() > 0)) viewport.showAllHiddenSeqs(); } diff --git a/src/jalview/gui/AlignmentPanel.java b/src/jalview/gui/AlignmentPanel.java index 3b149f4..a4a38f9 100755 --- a/src/jalview/gui/AlignmentPanel.java +++ b/src/jalview/gui/AlignmentPanel.java @@ -250,7 +250,7 @@ public class AlignmentPanel extends GAlignmentPanel alignFrame.hideSelSequences_actionPerformed(null); hide = true; } - else + else if (!(toggleCols && av.colSel.getSelected().size() > 0)) alignFrame.showAllSeqs_actionPerformed(null); }