JAL-4290 Set structureSelectionManager settings more generically and when no desktop...
[jalview.git] / src / jalview / bin / Commands.java
index dbc5e23..ece573d 100644 (file)
@@ -908,13 +908,7 @@ public class Commands
           boolean showSSAnnotations, boolean showAnnotations,
           boolean hideTFrows)
   {
-    Console.debug(
-            "##### Setting showSSAnnotations to " + showSSAnnotations);
-    Console.debug("##### Setting showAnnotations to " + showAnnotations);
-    Console.debug("##### Setting hideTFrows to " + hideTFrows);
-    af.setAnnotationsVisibility(showSSAnnotations, true, false);
-
-    af.setAnnotationsVisibility(showAnnotations, false, true);
+    af.setAnnotationsVisibility(true, showSSAnnotations, showAnnotations);
 
     // show temperature factor annotations?
     if (hideTFrows)