From 76b5c58c65413e8b239dbf71999f500600ef0f95 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Thu, 17 Aug 2006 14:06:02 +0000 Subject: [PATCH] H key updates --- src/jalview/appletgui/AlignFrame.java | 2 +- src/jalview/gui/AlignmentPanel.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- 1.7.10.2