H key updates
authoramwaterhouse <Andrew Waterhouse>
Thu, 17 Aug 2006 14:06:02 +0000 (14:06 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 17 Aug 2006 14:06:02 +0000 (14:06 +0000)
src/jalview/appletgui/AlignFrame.java
src/jalview/gui/AlignmentPanel.java

index 0a771e1..bad7617 100755 (executable)
@@ -343,7 +343,7 @@ public class AlignFrame extends Frame implements ActionListener,
             hide = true;\r
             viewport.hideAllSelectedSeqs();\r
           }\r
-          else\r
+          else if (!(toggleCols && viewport.colSel.getSelected().size() > 0))\r
             viewport.showAllHiddenSeqs();\r
         }\r
 \r
index 3b149f4..a4a38f9 100755 (executable)
@@ -250,7 +250,7 @@ public class AlignmentPanel extends GAlignmentPanel
                  alignFrame.hideSelSequences_actionPerformed(null);\r
                  hide = true;\r
                }\r
-               else\r
+               else if (!(toggleCols && av.colSel.getSelected().size() > 0))\r
                  alignFrame.showAllSeqs_actionPerformed(null);\r
              }\r
 \r