if(toggleCols)\r
{\r
if (viewport.colSel.getSelected().size() > 0)\r
+ {\r
viewport.hideSelectedColumns();\r
+ if(!toggleSeqs)\r
+ viewport.selectionGroup = sg;\r
+ }\r
else if (!hide)\r
viewport.showAllHiddenColumns();\r
}\r
return;\r
\r
colSel.hideSelectedColumns();\r
+ setSelectionGroup(null);\r
\r
hasHiddenColumns = true;\r
}\r
colSel.hideColumns(start);\r
else\r
colSel.hideColumns(start, end);\r
- setSelectionGroup(null);\r
+\r
hasHiddenColumns = true;\r
}\r
\r
if (toggleCols)\r
{\r
if(av.colSel.getSelected().size() > 0)\r
+ {\r
alignFrame.hideSelColumns_actionPerformed(null);\r
+ if(!toggleSeqs)\r
+ av.selectionGroup = sg;\r
+ }\r
else if(!hide)\r
alignFrame.showAllColumns_actionPerformed(null);\r
}\r